Mercurial > hg > orthanc-transfers
comparison 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 |
comparison
equal
deleted
inserted
replaced
7:151e29acbb13 | 8:4c3437217518 |
---|---|
49 | 49 |
50 default: | 50 default: |
51 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange); | 51 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange); |
52 } | 52 } |
53 | 53 |
54 if (RestApiGet(resource, cache.GetContext(), "/" + base + "/" + id + "/instances", false)) | 54 if (RestApiGet(resource, "/" + base + "/" + id + "/instances", false)) |
55 { | 55 { |
56 if (resource.type() != Json::arrayValue) | 56 if (resource.type() != Json::arrayValue) |
57 { | 57 { |
58 throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError); | 58 throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError); |
59 } | 59 } |