Skip to content

Commit

Permalink
adding sop uid to message
Browse files Browse the repository at this point in the history
  • Loading branch information
knopkem committed Apr 17, 2020
1 parent d7d50ce commit 0d58d6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dicom-dimse-native",
"version": "1.0.1",
"version": "1.0.2",
"description": "native addon using DCMTK dicom toolkit",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion src/GetAsyncWorker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ namespace

}
inline void sendMessage(const OFString& msg, const OFString& container) {
std::string msg2 = ns::createJsonResponse(ns::PENDING, msg.c_str());
json v = json::object();
v["SOPInstanceUID"] = container.c_str();
std::string msg2 = ns::createJsonResponse(ns::PENDING, msg.c_str(), v);
_progress.Send(msg2.c_str(), msg2.length());
}
private:
Expand Down

0 comments on commit 0d58d6c

Please sign in to comment.