From 67ea727686ad4489fc7b5ebb87899b8dca9369a3 Mon Sep 17 00:00:00 2001 From: zomars Date: Thu, 16 Jun 2022 13:33:23 -0600 Subject: [PATCH] Fixed schema --- packages/prisma/zod-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/prisma/zod-utils.ts b/packages/prisma/zod-utils.ts index cbfe03403d914d..c442260d24de11 100644 --- a/packages/prisma/zod-utils.ts +++ b/packages/prisma/zod-utils.ts @@ -103,7 +103,7 @@ export const vitalSettingsUpdateSchema = z.object({ export const userMetadata = z .object({ - proPaidForByTeamId: z.string().optional(), + proPaidForByTeamId: z.number().optional(), stripeCustomerId: z.string().optional(), vitalSettings: vitalSettingsUpdateSchema.optional(), })