filter buy countries on master

This commit is contained in:
zeppi 2021-07-06 14:37:01 -04:00 committed by jessopb
parent e2b8aae554
commit 5f83c027be

View file

@ -22,6 +22,7 @@ const MOONPAY_KEY = process.env.MOONPAY_SECRET_KEY;
const COUNTRIES = Array.from(
new Set(
countryData.all
.filter((country) => country.status !== 'deleted')
.map((country) => country.name)
.sort((a, b) => {
if (a > b) {