From 6209bed479bde8894d4c431654d8c198dc3931cb Mon Sep 17 00:00:00 2001 From: Matrix Dai Date: Fri, 28 Feb 2025 11:23:01 +0800 Subject: [PATCH] Fix: Handle null description in GitHub label schema --- src/github/common/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github/common/types.ts b/src/github/common/types.ts index cca961ba16..1ff9c7cc41 100644 --- a/src/github/common/types.ts +++ b/src/github/common/types.ts @@ -157,7 +157,7 @@ export const GitHubLabelSchema = z.object({ name: z.string(), color: z.string(), default: z.boolean(), - description: z.string().optional(), + description: z.string().nullable().optional(), }); export const GitHubMilestoneSchema = z.object({