Mlupdsrv
This commit is contained in:
@@ -138,12 +138,10 @@ public class UtilityController {
|
||||
StringBuilder responseString = new StringBuilder();
|
||||
final int status = HttpRestWrapper.callGenericGet(url, null, null, responseString, null);
|
||||
|
||||
/* ObjectMapper mapper = new ObjectMapper();
|
||||
ObjectMapper mapper = new ObjectMapper();
|
||||
JsonNode node = mapper.readTree(responseString.toString());
|
||||
|
||||
boolean success = node.get("success").asBoolean();*/
|
||||
|
||||
boolean success = true;
|
||||
boolean success = node.get("success").asBoolean();
|
||||
|
||||
return ServiceRestResponse.createPositiveResponse(success);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user