Skip to content

Commit

Permalink
👽 Legger til korrekt url for å hente spesifikt dokument
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrognes committed Jan 26, 2024
1 parent 1c021ef commit 07bc1ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/nyeapi/dokument.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const handler = beskyttetApi(async (req, res) => {
req,
/* @ts-ignore: TODO: Følge opp med tokenXproxy repo for å fikse type */
res,
`/oppslag/dokument/${journalpostId}/${dokumentId}`,
`/dokumenter/${journalpostId}/${dokumentId}`,
'/oppslag/dokument',
'oppslag',
process.env.OPPSLAG_AUDIENCE
Expand Down

0 comments on commit 07bc1ab

Please sign in to comment.