diff --git a/pages/api/innsending/vedlegg/les.ts b/pages/api/innsending/vedlegg/les.ts index be605d17..f35c3f33 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 14587742..4ef6db14 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, }); });