Skip to content

Commit

Permalink
remove Content-Type header from NIP-96 uploadFile
Browse files Browse the repository at this point in the history
  • Loading branch information
syusui-s authored and fiatjaf committed Jul 20, 2024
1 parent 475a22a commit a87099f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nip96.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,6 @@ export async function uploadFile(
method: 'POST',
headers: {
Authorization: nip98AuthorizationHeader,
'Content-Type': 'multipart/form-data',
},
body: formData,
})
Expand Down

0 comments on commit a87099f

Please sign in to comment.