Skip to content

Commit

Permalink
Debug SAF dokumenter
Browse files Browse the repository at this point in the history
  • Loading branch information
nattaphongklinjan committed Aug 8, 2024
1 parent 646d50d commit d011e07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/api/dokumenter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ export const handleDokumenter: NextApiHandler<Journalpost[]> = 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}`);
Expand Down

0 comments on commit d011e07

Please sign in to comment.