From fb85131404cc78dfe10a1d0f2ebfbac1a5628d9c Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Tue, 11 Feb 2025 11:55:59 +0100 Subject: [PATCH] Fix `assignees` field in `patchSchema` We are returning `assignees` in patches as `Author` since March 2024, so we should also parse patches with the correct zod schema. This shouldn't break any up to date `radicle-httpd` --- http-client/lib/repo/patch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-client/lib/repo/patch.ts b/http-client/lib/repo/patch.ts index 428b54aac..acbf68c16 100644 --- a/http-client/lib/repo/patch.ts +++ b/http-client/lib/repo/patch.ts @@ -92,7 +92,7 @@ export const patchSchema = object({ target: string(), labels: array(string()), merges: array(mergeSchema), - assignees: array(string()), + assignees: array(authorSchema), revisions: array(revisionSchema), });