Skip to content

Commit

Permalink
updated for new autumn requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowLp174 committed Feb 14, 2025
1 parent 1925fd5 commit 489d3b0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Uploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,13 @@ class Uploader {

fetch(this.url + "/" + tag, {
method: "POST",
body: form
headers: {
...this.client.api.auth.headers,
...form.getHeaders()
},
body: form,
}).then(response => response.json()).then(json => {
if (!json.id) throw json;
res(json.id);
});
});
Expand Down

0 comments on commit 489d3b0

Please sign in to comment.