We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d3515a commit 60beaa6Copy full SHA for 60beaa6
content/techniques/cookies.md
@@ -71,7 +71,7 @@ const app = await NestFactory.create<NestFastifyApplication>(
71
AppModule,
72
new FastifyAdapter(),
73
);
74
-app.register(fastifyCookie, {
+await app.register(fastifyCookie, {
75
secret: 'my-secret', // for cookies signature
76
});
77
```
content/techniques/sessions.md
@@ -77,7 +77,7 @@ const app = await NestFactory.create<NestFastifyApplication>(
78
79
80
-app.register(secureSession, {
+await app.register(secureSession, {
81
secret: 'averylogphrasebiggerthanthirtytwochars',
82
salt: 'mq9hDxBVDbspDR6n',
83
0 commit comments