Skip to content

Commit

Permalink
Merge pull request #2861 from gavrylenkoIvan/patch-1
Browse files Browse the repository at this point in the history
docs(cookies): fix @fastify/cookie code example
  • Loading branch information
kamilmysliwiec authored Sep 20, 2023
2 parents ed436d8 + e510d4b commit 7183349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/techniques/cookies.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const app = await NestFactory.create<NestFastifyApplication>(
AppModule,
new FastifyAdapter(),
);
await app.register(() => fastifyCookie, {
await app.register(fastifyCookie, {
secret: 'my-secret', // for cookies signature
});
```
Expand Down

0 comments on commit 7183349

Please sign in to comment.