diff Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp @ 23:e77efde44233

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 24 Nov 2023 12:55:50 +0100
parents 1bda8ea224de
children 78f21b9263b1
line wrap: on
line diff
--- a/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp	Wed Nov 22 07:20:20 2023 +0100
+++ b/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp	Fri Nov 24 12:55:50 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,