Removed export command

This commit is contained in:
Alex Tselegidis 2021-12-20 07:11:15 +01:00
parent 745a2f7c67
commit 4c7aa9b3b0

View file

@ -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,