Skip to content

Commit

Permalink
added optional to zod to pass tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Israellund committed Nov 15, 2024
1 parent 7640039 commit 2d7967e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/schemas/src/entities/community.schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const Community = z.object({
default_symbol: z.string().default(''),
network: z.string().default(ChainNetwork.Ethereum),
base: z.nativeEnum(ChainBase),
icon_url: z.string(),
icon_url: z.string().optional(),
active: z.boolean(),
type: z.nativeEnum(ChainType).default(ChainType.Chain),
description: z.string().nullish(),
Expand Down

0 comments on commit 2d7967e

Please sign in to comment.