diff --git a/app/src/main/java/org/flyve/mdm/agent/utils/FilesHelper.java b/app/src/main/java/org/flyve/mdm/agent/utils/FilesHelper.java index c971858d0d..1cd5e012fd 100644 --- a/app/src/main/java/org/flyve/mdm/agent/utils/FilesHelper.java +++ b/app/src/main/java/org/flyve/mdm/agent/utils/FilesHelper.java @@ -236,7 +236,7 @@ private String download(final String url, final String path) { } else { try { JSONObject jsonObjDownload = new JSONObject(data); - getFile(jsonObjDownload, url, path, data); + getFile(jsonObjDownload, path, url, data); } catch (Exception ex) { try { JSONArray arr = new JSONArray(data);