# HG changeset patch # User Alain Mazy # Date 1700730919 -3600 # Node ID 40112827c56f4401af0534b503aec1f1b90e466b # Parent 85da6dcd0e08eb9ef4bb700dde83a10c87f4eeb8 fix 'Priority' parsing diff -r 85da6dcd0e08 -r 40112827c56f OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp --- a/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Wed Nov 22 09:39:35 2023 +0100 +++ b/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Thu Nov 23 10:15:19 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,