diff OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp @ 4732:3709565bee7f

fix openapi: /modalities/{id}/move not supporting jobs
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 28 Jun 2021 12:03:07 +0200
parents 7826ac059c31
children c1d6ce00be3f 7053502fbf97
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp	Sun Jun 27 12:48:26 2021 +0200
+++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp	Mon Jun 28 12:03:07 2021 +0200
@@ -1526,7 +1526,6 @@
   {
     if (call.IsDocumentation())
     {
-      OrthancRestApi::DocumentSubmitCommandsJob(call);
       call.GetDocumentation()
         .SetTag("Networking")
         .SetSummary("Trigger C-MOVE SCU")
@@ -1575,7 +1574,7 @@
       MyGetModalityUsingSymbolicName(call.GetUriComponent("id", ""));
 
     DicomAssociationParameters params(localAet, source);
-    InjectAssociationTimeout(params, request);
+    InjectAssociationTimeout(params, request);  // Handles KEY_TIMEOUT
 
     DicomControlUserConnection connection(params);