From fd7c059b229836daa016984b8cfa4579b43195b3 Mon Sep 17 00:00:00 2001 From: John Ballesteros Date: Wed, 13 Nov 2024 15:33:47 +0800 Subject: [PATCH] fix: schema validation error in project-details org prop --- src/projects/core/schemas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/projects/core/schemas.ts b/src/projects/core/schemas.ts index e421d6f..19d0940 100644 --- a/src/projects/core/schemas.ts +++ b/src/projects/core/schemas.ts @@ -32,7 +32,7 @@ export type ProjectOrg = z.infer; export const projectDetailsSchema = z .object({ - organization: projectOrgSchema.nullable(), + organization: projectOrgSchema.nullable().optional(), }) .merge(projectAllInfoSchema);