diff Framework/TransferScheduler.cpp @ 8:4c3437217518

fix for compatibility with simplified OrthancPluginCppWrapper
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Dec 2018 09:16:51 +0100
parents 95226b754d9e
children 7e207ade2f1a
line wrap: on
line diff
--- a/Framework/TransferScheduler.cpp	Fri Sep 21 12:52:23 2018 +0200
+++ b/Framework/TransferScheduler.cpp	Wed Dec 05 09:16:51 2018 +0100
@@ -51,7 +51,7 @@
         throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange);
     }
 
-    if (RestApiGet(resource, cache.GetContext(), "/" + base + "/" + id + "/instances", false))
+    if (RestApiGet(resource, "/" + base + "/" + id + "/instances", false))
     {
       if (resource.type() != Json::arrayValue)
       {