diff --git a/src/main/java/io/mosip/mimoto/util/Utilities.java b/src/main/java/io/mosip/mimoto/util/Utilities.java index 50177f47..1b78bcec 100644 --- a/src/main/java/io/mosip/mimoto/util/Utilities.java +++ b/src/main/java/io/mosip/mimoto/util/Utilities.java @@ -167,7 +167,7 @@ public void removeCacheData(String requestId) throws IOException { public String getJson(String configString, String resourcePath) { String json = configString; try { - if(!StringUtils.isEmpty(json)){ + if(StringUtils.isEmpty(json)){ json = restApiClient.getApi(URI.create(configServerFileStorageURL + resourcePath), String.class); } } catch (Exception e) {