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');