From 162cdb0940ee904e8daa2eda1993bc2cdb031bf4 Mon Sep 17 00:00:00 2001 From: casulit Date: Wed, 30 Oct 2024 11:41:17 +0800 Subject: [PATCH] style(server): Join query line in server.ts corrected --- server.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server.ts b/server.ts index 3ec07ce..a9a0ae4 100644 --- a/server.ts +++ b/server.ts @@ -568,8 +568,7 @@ app.patch("/api/properties/:id/generate-ai-description", async (c: Context) => { FROM Listing l JOIN Property p ON l.property_id = p.id - LEFT JOIN Property_ - Type pt ON p.property_type_id = pt.property_type_id + LEFT JOIN Property_Type pt ON p.property_type_id = pt.property_type_id LEFT JOIN Listing_Type lt ON l.offer_type_id = lt.listing_type_id LEFT JOIN Warehouse_Type wt ON p.warehouse_type_id = wt.warehouse_type_id LEFT JOIN Listing_Region rg ON p.listing_region_id = rg.id