Skip to content

Commit

Permalink
fix(src): pass empty apiContext to work around multiZoneDraftMode
Browse files Browse the repository at this point in the history
… check

Co-authored-by: jmengerink <j.mengerink@tibo.energy>
  • Loading branch information
lordphnx and jmengerink authored Sep 18, 2024
1 parent 945857b commit c061b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ export async function testApiHandler<NextResponseJsonType = any>({
res,
finalParameters,
pagesHandler,
undefined as any,
{} as any,
!!rejectOnHandlerError
).catch((error: unknown) => handleError(res, error, deferredReject));
})
Expand Down

0 comments on commit c061b91

Please sign in to comment.