Skip to content

Commit 1539a4d

Browse files
fix: adddd await before calling next
1 parent cd3cd39 commit 1539a4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/_middleware.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ export async function onRequest(context) {
1616
);
1717
}
1818

19-
return next();
19+
return await next();
2020
}

0 commit comments

Comments
 (0)