From 4c7aa9b3b08e0a998bb96083ab0d9719a7a77508 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Mon, 20 Dec 2021 07:11:15 +0100 Subject: [PATCH] Removed export command --- assets/js/utils/http.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/utils/http.js b/assets/js/utils/http.js index 92e2731c..f592a94a 100644 --- a/assets/js/utils/http.js +++ b/assets/js/utils/http.js @@ -53,7 +53,7 @@ window.App.Utils.Http = (function () { }); } - export function upload(user, method, url, file) { + function upload(user, method, url, file) { const formData = new FormData(); formData.append('file', file, file.name); @@ -95,7 +95,7 @@ window.App.Utils.Http = (function () { }); } - export function download(user, method, url) { + function download(user, method, url) { return new Promise((resolve, reject) => { fetch(App.Utils.Url.siteUrl(url), { method,