Mercurial > hg > orthanc-authorization
diff Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp @ 139:7e53735eeacb
sync Orthanc
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 19 Dec 2023 11:52:51 +0100 |
parents | 11530895e0b2 |
children | 6673a963ddf0 |
line wrap: on
line diff
--- a/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp Sat Nov 25 12:18:14 2023 +0100 +++ b/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp Tue Dec 19 11:52:51 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,