Skip to content

Scheduling infrastructure for absolutely everyone.

Merge pull request #107 from calcom/feat/admin-events

Agusti Fernandez Pardo26f861d0d0c6
diff --cc lib/helpers/verifyApiKey.ts
index 481b0068492,c3977ca94f6..08c02167372
--- a/lib/helpers/verifyApiKey.ts
+++ b/lib/helpers/verifyApiKey.ts
@@@ -10,9 -12,8 +12,10 @@@ declare module "next"
export interface NextApiRequest extends IncomingMessage {
userId: number;
method: string;
+ isAdmin: boolean;
query: { [key: string]: string | string[] };
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ session: any;
}
}