Fixed raw query invocation

This commit is contained in:
Luca Frosini 2022-07-21 18:09:20 +02:00
parent 771e5dda9c
commit 9f8967deb8
1 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ public class UtilityResource {
System.out.println("------------query----------->"+query);
String result=resourceRegistryClient.rawQuery(query, 1000, null);
String result=resourceRegistryClient.rawQuery(query, true);
if (!result.isEmpty()) {
JSONObject jsonObj = new JSONObject(result);
@ -193,7 +193,7 @@ public class UtilityResource {
String description="";
String result=resourceRegistryClient.rawQuery(query, 1000, null);
String result=resourceRegistryClient.rawQuery(query, true);
JSONObject jsonObj = new JSONObject(result);
JSONArray jsonArray=jsonObj.getJSONArray("result");