Skip to content

Commit

Permalink
Fix upload
Browse files Browse the repository at this point in the history
  • Loading branch information
olegsvs committed Sep 29, 2024
1 parent b789b78 commit a6ce5fd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/PlayerCanvasBackground/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,7 @@ function uploadCanvasImage(playerId: number, file: File, width: number, height:

return request(`/api/canvas/${playerId}/upload`, {
method: 'POST',
body: formData,
headers: {
'content-type': 'application/json',
},
body: formData
});
}

Expand Down

0 comments on commit a6ce5fd

Please sign in to comment.