From ad0b8a668c993ac3842ae6a464992f1069627ab1 Mon Sep 17 00:00:00 2001 From: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com> Date: Mon, 29 Apr 2024 20:10:10 +0400 Subject: [PATCH] fix: Unbork Team POST API (#14803) * Add newly added mandatory fields to partial * --WIP --- apps/api/v1/lib/validations/team.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/api/v1/lib/validations/team.ts b/apps/api/v1/lib/validations/team.ts index 3bc0af2c49..84e3c565b8 100644 --- a/apps/api/v1/lib/validations/team.ts +++ b/apps/api/v1/lib/validations/team.ts @@ -6,6 +6,9 @@ export const schemaTeamBaseBodyParams = Team.omit({ id: true, createdAt: true }) hideBranding: true, metadata: true, pendingPayment: true, + isOrganization: true, + isPlatform: true, + smsLockState: true, }); const schemaTeamRequiredParams = z.object({