We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6725cd0 commit 269e6c5Copy full SHA for 269e6c5
src/server/api/router/places.ts
@@ -14,7 +14,7 @@ const getAllPlaces = db
14
name: placesTranslations.name,
15
})
16
.from(placesData)
17
- .leftJoin(placesTranslations, eq(placesData.id, placesTranslations.placeId))
+ .innerJoin(placesTranslations, eq(placesData.id, placesTranslations.placeId))
18
.where(
19
or(
20
eq(placesTranslations.locale, sql.placeholder('locale')),
0 commit comments