From 3b0564ad45457d4ec5f5484dd47187dc6ddb59af Mon Sep 17 00:00:00 2001 From: casulit Date: Tue, 29 Oct 2024 15:58:27 +0800 Subject: [PATCH] refactor(config): Use raw property_type_id without parsing to int --- config/deno-kv.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/deno-kv.ts b/config/deno-kv.ts index a898cfd..5b1a3ea 100644 --- a/config/deno-kv.ts +++ b/config/deno-kv.ts @@ -395,7 +395,7 @@ export async function listenQueue(kv: Deno.Kv) { JSON.stringify(rawProperty.property_features), JSON.stringify(rawProperty.indoor_features), JSON.stringify(rawProperty.outdoor_features), - parseInt(rawProperty.property_type_id.toString()), + rawProperty.property_type_id, rawProperty.address ?? "-", parseInt(rawProperty.listing_region_id), parseInt(rawProperty.listing_city_id),