From 72bb8e7b9819500e53758c8298bc81dff0ba9caa Mon Sep 17 00:00:00 2001 From: "Eric J. Smith" Date: Sat, 4 Jan 2025 22:49:22 -0600 Subject: [PATCH] Fix delete response data --- src/FetchClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FetchClient.ts b/src/FetchClient.ts index 571e9d5..457b64c 100644 --- a/src/FetchClient.ts +++ b/src/FetchClient.ts @@ -370,7 +370,7 @@ export class FetchClient { options, { method: "DELETE", - headers: options?.headers ?? {}, + headers: { "Content-Type": "application/json", ...options?.headers }, }, ); }