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 e5af0ba commit e149558Copy full SHA for e149558
src/server.ts
@@ -19,7 +19,7 @@ declare module "fastify" {
19
export async function createApp(context: AppContext): Promise<FastifyInstance> {
20
const app = Fastify();
21
void app.register(async (app) => {
22
- app.decorateRequest("ctx", undefined);
+ app.decorateRequest("ctx", null);
23
app.addHook("preHandler", async (req) => {
24
req.ctx = await createRequestContext(context, req);
25
});
0 commit comments