Skip to content

Commit

Permalink
Fix wrong response type in AfterRefreshPageRoute (#1523)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath committed Oct 25, 2023
2 parents ffb82dc + 216b6db commit 336139b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/session/get-access-token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export type AfterRefresh = AfterRefreshPageRoute | AfterRefreshAppRoute;
*/
export type AfterRefreshPageRoute = (
req: NextApiRequest | IncomingMessage,
res: NextApiRequest | ServerResponse,
res: NextApiResponse | ServerResponse,
session: Session
) => Promise<Session> | Session;

Expand Down

0 comments on commit 336139b

Please sign in to comment.