Skip to content

Commit ceffe0a

Browse files
fix: next handler wait until bind (#293)
1 parent 2509160 commit ceffe0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/presets/src/presets/next/handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ async function handlerDefault(request: AzionRuntimeRequest, ctx: AzionRuntimeCtx
7171
};
7272

7373
const context = {
74-
waitUntil: ctx.waitUntil,
74+
waitUntil: ctx.waitUntil.bind(ctx),
7575
passThroughOnException: () => null,
7676
};
7777

0 commit comments

Comments
 (0)