Skip to content

Commit

Permalink
fix: product logo is received null from prisma if not set (#2404)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShubhamPalriwala committed Apr 8, 2024
1 parent 4cd23e6 commit de82762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/types/product.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const ZProduct = z.object({
brandColor: ZColor.nullish(),
highlightBorderColor: ZColor.nullish(),
languages: z.array(ZLanguage),
logo: ZLogo.optional(),
logo: ZLogo.nullish(),
});

export type TProduct = z.infer<typeof ZProduct>;
Expand Down

0 comments on commit de82762

Please sign in to comment.