Files
goodgo-platform/apps/api
Ho Ngoc Hai ae52081d7d fix(listings): remove hardcoded (0,0) geo fallbacks in listing-read queries
The findByIdWithProperty and searchListings read queries used
`?? { latitude: 0, longitude: 0 }` fallbacks after PostGIS coordinate
extraction. Since the Property.location column is NOT NULL, these
fallbacks silently masked potential data issues. Replaced with non-null
assertions since geo data is guaranteed to exist for valid properties.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-16 04:27:02 +07:00
..