From 672793d97a9af1b40bddaaf233c83644858db097 Mon Sep 17 00:00:00 2001 From: Damian Jachyra <44927998+damianjachyra@users.noreply.github.com> Date: Fri, 10 Oct 2025 10:48:39 -0400 Subject: [PATCH] fix: logoutByIssuer --- src/utils/rest.ts | 5 +---- test/spec/utils/rest/post.spec.ts | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/utils/rest.ts b/src/utils/rest.ts index 176d8b8..afd42e3 100644 --- a/src/utils/rest.ts +++ b/src/utils/rest.ts @@ -38,10 +38,7 @@ export function post, TR ) { return emitRequest(url, { method: 'POST', - headers: { - 'X-Magic-Secret-Key': secretApiKey, - 'Content-Type': 'application/json' - }, + headers: { 'X-Magic-Secret-Key': secretApiKey }, body: JSON.stringify(body), }); } diff --git a/test/spec/utils/rest/post.spec.ts b/test/spec/utils/rest/post.spec.ts index a358673..c500407 100644 --- a/test/spec/utils/rest/post.spec.ts +++ b/test/spec/utils/rest/post.spec.ts @@ -26,10 +26,7 @@ test('Successfully POSTs to the given endpoint & stringifies body', async () => 'https://example.com/hello/world', { method: 'POST', - headers: { - 'X-Magic-Secret-Key': API_KEY, - 'Content-Type': 'application/json' - }, + headers: { 'X-Magic-Secret-Key': API_KEY }, body: '{"public_address":"0x0123"}', }, ]);