diff OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp @ 4143:1ec3e1e18f50

Add missing tag "Retrieve AE Title (0008,0054)" in C-FIND SCP responses
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 14 Aug 2020 08:19:02 +0200
parents 05b8fd21089c
children 0034f855c023
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp	Thu Aug 13 17:44:39 2020 +0200
+++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp	Fri Aug 14 08:19:02 2020 +0200
@@ -69,7 +69,7 @@
 
     {
       OrthancConfiguration::ReaderLock lock;
-      result["DicomAet"] = lock.GetConfiguration().GetStringParameter("DicomAet", "ORTHANC");
+      result["DicomAet"] = lock.GetConfiguration().GetOrthancAET();
       result["DicomPort"] = lock.GetConfiguration().GetUnsignedIntegerParameter("DicomPort", 4242);
       result["HttpPort"] = lock.GetConfiguration().GetUnsignedIntegerParameter("HttpPort", 8042);
       result["Name"] = lock.GetConfiguration().GetStringParameter("Name", "");