# HG changeset patch # User Alain Mazy # Date 1700755201 -3600 # Node ID 8536b98eff2bbdc5fd3b12dcfd52701320d36820 # Parent 40112827c56f4401af0534b503aec1f1b90e466b# Parent ac68a4383e51047f5406eb94a36ae93714efe424 merge 'debug-telemis' diff -r ac68a4383e51 -r 8536b98eff2b OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp --- a/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Thu Nov 23 16:59:16 2023 +0100 +++ b/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Thu Nov 23 17:00:01 2023 +0100 @@ -2607,7 +2607,7 @@ if (body.isMember(KEY_PRIORITY)) { - if (body[KEY_PRIORITY].type() != Json::booleanValue) + if (body[KEY_PRIORITY].type() != Json::intValue) { #if HAS_ORTHANC_EXCEPTION == 1 throw Orthanc::OrthancException(Orthanc::ErrorCode_BadFileFormat,