Skip to content

Commit

Permalink
Apply auth0#1777
Browse files Browse the repository at this point in the history
Signed-off-by: Cam <[email protected]>
  • Loading branch information
expxx authored Jan 2, 2025
1 parent 2199a20 commit 5f58942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export default function handlerFactory({
const appRouteHandlerFactory: (customHandlers: ApiHandlers, onError?: AppRouterOnError) => AppRouteHandlerFn =
(customHandlers, onError) => async (req: NextRequest, ctx) => {
const { params } = ctx;
let route = params.auth0;
let route = (await params).auth0;

if (Array.isArray(route)) {
let otherRoutes;
Expand Down

0 comments on commit 5f58942

Please sign in to comment.