Skip to content

Commit

Permalink
[Nextjs][Personalize] Productize layout response transform (#962)
Browse files Browse the repository at this point in the history
(cherry picked from commit f43645f)
  • Loading branch information
ambrauer committed Jul 13, 2022
1 parent fba4497 commit 029a50d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { NextRequest } from 'next/server';
import type { NextRequest, NextFetchEvent } from 'next/server';
import middleware from 'lib/middleware';

// eslint-disable-next-line
export default async function (req: NextRequest) {
return middleware(req);
export default async function (req: NextRequest, ev: NextFetchEvent) {
return middleware(req, ev);
}

0 comments on commit 029a50d

Please sign in to comment.