get the object for key "success" which throws JsonObject exception

This commit is contained in:
rodicasutu
2020-12-02 14:02:01 +02:00
parent fa42b703d7
commit 8601a0092d

View File

@@ -238,7 +238,7 @@ public final class WebScriptUtils
try
{
value = jsonObject.getString(key);
value = jsonObject.get(key).toString();
if (checkValue && isBlank(value))
{
throw new WebScriptException(Status.STATUS_BAD_REQUEST, "The value is missing for the key '" + key + "'.");