Skip to content

Commit c061b91

Browse files
lordphnxjmengerink
andauthored
fix(src): pass empty apiContext to work around multiZoneDraftMode check
Co-authored-by: jmengerink <[email protected]>
1 parent 945857b commit c061b91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ export async function testApiHandler<NextResponseJsonType = any>({
597597
res,
598598
finalParameters,
599599
pagesHandler,
600-
undefined as any,
600+
{} as any,
601601
!!rejectOnHandlerError
602602
).catch((error: unknown) => handleError(res, error, deferredReject));
603603
})

0 commit comments

Comments
 (0)