mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
get the object for key "success" which throws JsonObject exception
This commit is contained in:
@@ -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 + "'.");
|
||||
|
Reference in New Issue
Block a user