Removed export command
This commit is contained in:
parent
745a2f7c67
commit
4c7aa9b3b0
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
const formData = new FormData();
|
||||||
|
|
||||||
formData.append('file', file, file.name);
|
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) => {
|
return new Promise((resolve, reject) => {
|
||||||
fetch(App.Utils.Url.siteUrl(url), {
|
fetch(App.Utils.Url.siteUrl(url), {
|
||||||
method,
|
method,
|
||||||
|
|
Loading…
Reference in a new issue