From 1e80a83b1f5519fc76fdbab53456ef0fc4310cfd Mon Sep 17 00:00:00 2001 From: Agusti Fernandez Pardo Date: Tue, 14 Jun 2022 23:57:38 +0200 Subject: [PATCH] add session to req --- lib/helpers/verifyApiKey.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/helpers/verifyApiKey.ts b/lib/helpers/verifyApiKey.ts index c45f3d3c3f..481b006849 100644 --- a/lib/helpers/verifyApiKey.ts +++ b/lib/helpers/verifyApiKey.ts @@ -11,6 +11,8 @@ declare module "next" { userId: number; method: string; query: { [key: string]: string | string[] }; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + session: any; } }