From 7cfe1279b649c67fe4403490cfcbb46fbbb5c539 Mon Sep 17 00:00:00 2001 From: Thomas Rognes <33520517+thomasrognes@users.noreply.github.com> Date: Wed, 22 May 2024 09:41:16 +0200 Subject: [PATCH] =?UTF-8?q?:sparkles:=20H=C3=A5ndterer=20204=20respons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/utils/api/simpleTokenXProxy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/api/simpleTokenXProxy.ts b/lib/utils/api/simpleTokenXProxy.ts index 5bd9a298..54ef4315 100644 --- a/lib/utils/api/simpleTokenXProxy.ts +++ b/lib/utils/api/simpleTokenXProxy.ts @@ -68,7 +68,7 @@ export const simpleTokenXProxy = async ({ logInfo(`OK ${url}, status ${response.status}, callId ${navCallId}`); if (response.status === 204) { - return 'request gikk fint' as T; + return {} as T; } const headers = response.headers.get('content-type');