From 9905773a704b52950f89e50941e5e735d4dbcbf0 Mon Sep 17 00:00:00 2001 From: Aysel Afsar Date: Thu, 12 Oct 2017 14:52:15 -0400 Subject: [PATCH] OHIF-178: Fix the issue with DIMSE services by sending the caller via callback --- Packages/ohif-dicom-services/server/DIMSE/DIMSE.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/ohif-dicom-services/server/DIMSE/DIMSE.js b/Packages/ohif-dicom-services/server/DIMSE/DIMSE.js index 5de939226..e299f8f0f 100755 --- a/Packages/ohif-dicom-services/server/DIMSE/DIMSE.js +++ b/Packages/ohif-dicom-services/server/DIMSE/DIMSE.js @@ -82,7 +82,7 @@ DIMSE.associate = function(contexts, callback, options) { const socket = conn.associate(options, function(pdu) { // associated OHIF.log.info('==Associated'); - callback(null, pdu); + callback.call(this, null, pdu); }); socket.on('error', function (error) {