Skip to content

Commit

Permalink
Merge pull request #9497 from hicommonwealth/malik.fix-nullish-error
Browse files Browse the repository at this point in the history
Added nullish type to `uniswap_pool_address` from create token response
  • Loading branch information
mzparacha authored Oct 9, 2024
2 parents d99025f + 0e3554f commit d43ed63
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 d43ed63

Please sign in to comment.