Skip to content

Commit

Permalink
Fix with translations
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciabad committed Apr 7, 2024
1 parent fe02e6d commit 71f7348
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/helpers/translations/query/with-translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ export function withTranslations<
columns: config.columns,
where: (translations: TranslationsTableColumns) =>
and(
isNotNull(sql.placeholder('locale')),
eq(translations.locale, sql.placeholder('locale'))
isNotNull(sql`${sql.placeholder('locale')}::text`),
eq(translations.locale, sql`${sql.placeholder('locale')}::text`)
),
},

Expand Down

0 comments on commit 71f7348

Please sign in to comment.