Skip to content

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

Add phone validation

Maciej Korycinski102a8c30d3c4
diff --git a/saleor/graphql/shop/mutations.py b/saleor/graphql/shop/mutations.py
index 4854ca4495..4cd6146ac3 100644
--- a/saleor/graphql/shop/mutations.py
+++ b/saleor/graphql/shop/mutations.py
@@ -5,6 +5,7 @@ from django.core.management import call_command
from ...account.models import Address
from ...site import models as site_models
+from ..account.i18n import I18nMixin
from ..account.types import AddressInput
from ..core.enums import WeightUnitsEnum
from ..core.mutations import BaseMutation
@@ -65,7 +66,7 @@ class ShopSettingsUpdate(BaseMutation):
return ShopSettingsUpdate(shop=Shop())
-class ShopAddressUpdate(BaseMutation):
+class ShopAddressUpdate(BaseMutation, I18nMixin):
shop = graphene.Field(Shop, description="Updated Shop")
class Arguments: