# HG changeset patch # User Sebastien Jodogne # Date 1465375182 -7200 # Node ID f11e5d200c044a2a14620f7bfaf0c32e19df00cf # Parent 785588df251808e614233ff608b99acb10dd86b9 fix issue #16 diff -r 785588df2518 -r f11e5d200c04 OrthancServer/OrthancRestApi/OrthancRestResources.cpp --- a/OrthancServer/OrthancRestApi/OrthancRestResources.cpp Mon Jun 06 17:28:32 2016 +0200 +++ b/OrthancServer/OrthancRestApi/OrthancRestResources.cpp Wed Jun 08 10:39:42 2016 +0200 @@ -1099,7 +1099,7 @@ size_t limit = 0; if (request.isMember("Limit")) { - int tmp = request["CaseSensitive"].asInt(); + int tmp = request["Limit"].asInt(); if (tmp < 0) { throw OrthancException(ErrorCode_ParameterOutOfRange);