remove Content-Type header from NIP-96 uploadFile

This commit is contained in:
Shusui MOYATANI 2024-07-03 03:04:55 +09:00 committed by fiatjaf_
parent 475a22a95f
commit a87099fa5c
1 changed files with 0 additions and 1 deletions

View File

@ -359,7 +359,6 @@ export async function uploadFile(
method: 'POST', method: 'POST',
headers: { headers: {
Authorization: nip98AuthorizationHeader, Authorization: nip98AuthorizationHeader,
'Content-Type': 'multipart/form-data',
}, },
body: formData, body: formData,
}) })