From 97980389129432b6a6d56420a1ffcb445b89160c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halvor=20Grizzly=20Bj=C3=B8rn?= Date: Wed, 6 Dec 2023 13:21:25 +0100 Subject: [PATCH] =?UTF-8?q?pr=C3=B8ver=20med=20andre=20responser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/api/innsending/vedlegg/les.ts | 1 + pages/api/innsending/vedlegg/slett.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/pages/api/innsending/vedlegg/les.ts b/pages/api/innsending/vedlegg/les.ts index be605d1..f35c3f3 100644 --- a/pages/api/innsending/vedlegg/les.ts +++ b/pages/api/innsending/vedlegg/les.ts @@ -14,6 +14,7 @@ const handler = beskyttetApi(async (req, res) => { req: req, audience: process.env.INNSENDING_AUDIENCE!, bearerToken: accessToken, + rawResonse: true, }); }); diff --git a/pages/api/innsending/vedlegg/slett.ts b/pages/api/innsending/vedlegg/slett.ts index 1458774..4ef6db1 100644 --- a/pages/api/innsending/vedlegg/slett.ts +++ b/pages/api/innsending/vedlegg/slett.ts @@ -14,6 +14,7 @@ const handler = beskyttetApi(async (req, res) => { req, audience: process.env.INNSENDING_AUDIENCE!, bearerToken: accessToken, + noResponse: true, }); });