From 38750a78845ae0daedc4d25f2918f2029e00330b Mon Sep 17 00:00:00 2001 From: Rafa Hernandez Date: Wed, 29 Nov 2017 17:36:27 -0400 Subject: [PATCH] fix(file): update url and path params --- app/src/main/java/org/flyve/mdm/agent/utils/FilesHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);