From f1cf8ba94bc3e544c95b3f1b85f1981080c881c3 Mon Sep 17 00:00:00 2001 From: Agusti Fernandez Pardo Date: Fri, 20 May 2022 03:06:05 +0200 Subject: [PATCH] fix: query { [key: string]: string | string[]; } --- lib/helpers/verifyApiKey.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/helpers/verifyApiKey.ts b/lib/helpers/verifyApiKey.ts index 6d07d72d99..756fb26fe1 100644 --- a/lib/helpers/verifyApiKey.ts +++ b/lib/helpers/verifyApiKey.ts @@ -12,9 +12,7 @@ declare module "next" { body: any; userId: number; method: string; - query: { - apiKey?: string; - }; + query: { [key: string]: string | string[] }; } }