Skip to content

Commit

Permalink
style(server): Join query line in server.ts corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
csulit committed Oct 30, 2024
1 parent 71093bc commit 162cdb0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 162cdb0

Please sign in to comment.