From a87099fa5cfcaddbf69722b18bda1564bd267609 Mon Sep 17 00:00:00 2001 From: Shusui MOYATANI Date: Wed, 3 Jul 2024 03:04:55 +0900 Subject: [PATCH] remove Content-Type header from NIP-96 uploadFile --- nip96.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/nip96.ts b/nip96.ts index 38cd009..8952ac2 100644 --- a/nip96.ts +++ b/nip96.ts @@ -359,7 +359,6 @@ export async function uploadFile( method: 'POST', headers: { Authorization: nip98AuthorizationHeader, - 'Content-Type': 'multipart/form-data', }, body: formData, })