diff OrthancServer/ServerToolbox.cpp @ 2409:e4045b3c9772

ignore-length argument if retrieving DICOM tags
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 27 Sep 2017 17:36:13 +0200
parents 96b3ec054b69
children 878b59270859
line wrap: on
line diff
--- a/OrthancServer/ServerToolbox.cpp	Mon Sep 25 14:50:13 2017 +0200
+++ b/OrthancServer/ServerToolbox.cpp	Wed Sep 27 17:36:13 2017 +0200
@@ -431,7 +431,7 @@
         ServerContext::DicomCacheLocker locker(context, *it);
 
         Json::Value dicomAsJson;
-        locker.GetDicom().ExtractDicomAsJson(dicomAsJson);
+        locker.GetDicom().DatasetToJson(dicomAsJson);
 
         std::string s = dicomAsJson.toStyledString();
         context.AddAttachment(*it, FileContentType_DicomAsJson, s.c_str(), s.size());