Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove nulls from shop countries query

Damian W37a3d5b3a5bb
diff --git a/saleor/graphql/shop/types.py b/saleor/graphql/shop/types.py
index b74c229ddb..cf53665621 100644
--- a/saleor/graphql/shop/types.py
+++ b/saleor/graphql/shop/types.py
@@ -183,6 +183,7 @@ class Shop(graphene.ObjectType):
code=country[0], country=country[1], vat=taxes.get(country[0])
)
for country in countries
+ if country is not None
]
@staticmethod