Skip to content

Commit

Permalink
korrigert variabel navn: basert og ikke baser i decorator context param.
Browse files Browse the repository at this point in the history
  • Loading branch information
d142796 committed Mar 14, 2024
1 parent 9f86da2 commit bb36570
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/dekorator/appMedNavDekoratoren.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ async function getNavdekoratoren(
req: Request,
res: Response<any, Record<string, any>, number>,
): Promise<void> {
const contextBaserPåInnloggetPart = req.cookies['innlogget-part'] === 'DELTAKER' ? 'privatperson' : 'arbeidsgiver';
const contextBasertPåInnloggetPart = req.cookies['innlogget-part'] === 'DELTAKER' ? 'privatperson' : 'arbeidsgiver';
return await injectDecoratorServerSide({
env: getEnv(),
filePath: indexFilepath,
params: {
context: contextBaserPåInnloggetPart,
context: contextBasertPåInnloggetPart,
chatbot: true,
redirectToApp: true,
level: 'Level4',
Expand Down

0 comments on commit bb36570

Please sign in to comment.