Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Simplify zod schema
Rūdolfs Ošiņš committed 1 month ago
commit 21dc8a6262b087ffa24c8d012549a1addfa9e95e
parent afb0f903ee2fb1d4736488f9c569432a92139d21
1 file changed +1 -1
modified http-client/lib/shared.ts
@@ -20,7 +20,7 @@ const defaultSeedingPolicySchema = z.union([
  }),
  z.object({
    default: z.literal("allow"),
-
    scope: z.union([scopeSchema, z.null()]).optional(),
+
    scope: scopeSchema.optional(),
  }),
]);