Radish alpha
r
rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5
Radicle web interface
Radicle
Git
Fix `assignees` field in `patchSchema`
Merged did:key:z6MkkfM3...sVz5 opened 1 year ago

We are returning assignees in patches as Author from radicle-httpd since March 2024 with commit 5329d45d72a03e5ba06e206b4ef2f2cb5f32e67a, so we should also parse patches with the correct zod schema.

This shouldn’t break any up to date radicle-httpd, this change was already in radicle-httpd before we started with versioning it.

check check-visual check-unit-test check-http-client-unit-test check-radicle-httpd check-e2e check-build check-http

👉 Preview 👉 Workflow runs 👉 Branch on GitHub

1 file changed +1 -1 e9c783f0 → fb851314
modified 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),
});