From 0e3554f391ce293aeb7694a52a621a176f20b0ba Mon Sep 17 00:00:00 2001 From: Malik Zulqurnain Date: Wed, 9 Oct 2024 23:08:34 +0500 Subject: [PATCH] Added nullish type to `uniswap_pool_address` from create token response --- libs/schemas/src/entities/token.schemas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/schemas/src/entities/token.schemas.ts b/libs/schemas/src/entities/token.schemas.ts index 398cb52f97f..f82a38cfdcf 100644 --- a/libs/schemas/src/entities/token.schemas.ts +++ b/libs/schemas/src/entities/token.schemas.ts @@ -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(),