Skip to content

Commit

Permalink
Added nullish type to uniswap_pool_address from create token response
Browse files Browse the repository at this point in the history
  • Loading branch information
mzparacha committed Oct 9, 2024
1 parent d99025f commit 0e3554f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/schemas/src/entities/token.schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const Token = z.object({
author_address: z.string(),
community_id: z.string(),
launchpad_contract_address: z.string(),
uniswap_pool_address: z.string().optional(),
uniswap_pool_address: z.string().optional().nullish(),

// 2. Timestamps are managed by sequelize, thus optional
created_at: z.coerce.date().optional(),
Expand Down

0 comments on commit 0e3554f

Please sign in to comment.