Skip to content

Commit

Permalink
Fix: duplicate country results
Browse files Browse the repository at this point in the history
  • Loading branch information
georgipavlov-7DIGIT committed May 13, 2024
1 parent 44c7f53 commit 878c423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/queries/countries.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getDBPool } from "#utils/dbConfig";
export const getAllActiveCountries = async () =>
await getDBPool("masterDb").query(
`
SELECT "country"."country_id",
SELECT DISTINCT("country"."country_id"),
"country"."name",
"country"."alpha2",
"country"."alpha3",
Expand Down

0 comments on commit 878c423

Please sign in to comment.