fix: body any

This commit is contained in:
Agusti Fernandez Pardo
2022-05-20 03:01:47 +02:00
parent 4fb1c14d3d
commit f22257977d
+2 -1
View File
@@ -8,8 +8,9 @@ import prisma from "@calcom/prisma";
/** @todo: remove once `@calcom/types` is updated with it.*/
declare module "next" {
export interface NextApiRequest extends IncomingMessage {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
body: any;
userId: number;
body: unknown;
method: string;
query: {
apiKey?: string;