diff --git a/src/pages/api/dokumenter/index.ts b/src/pages/api/dokumenter/index.ts index b43c5331..1a44deee 100644 --- a/src/pages/api/dokumenter/index.ts +++ b/src/pages/api/dokumenter/index.ts @@ -43,6 +43,8 @@ export const handleDokumenter: NextApiHandler = async (req, res) } = await hentDokumentOversikt(await session.apiToken(safAudience), fnr); jposter = journalposter; + console.log(journalposter); + logger.info(`Hentet ${jposter.length} journalposter`); } catch (errors) { logger.error(`Feil fra SAF: ${errors.response}`);