diff --git a/app/code/Magento/CustomerGraphQl/Model/Resolver/IsEmailAvailable.php b/app/code/Magento/CustomerGraphQl/Model/Resolver/IsEmailAvailable.php index ddf1aec275ec..7e13a40cc8ae 100644 --- a/app/code/Magento/CustomerGraphQl/Model/Resolver/IsEmailAvailable.php +++ b/app/code/Magento/CustomerGraphQl/Model/Resolver/IsEmailAvailable.php @@ -44,7 +44,7 @@ public function resolve( array $args = null ) { if (!isset($args['email']) || empty($args['email'])) { - throw new GraphQlInputException(__('"Email should be specified')); + throw new GraphQlInputException(__('Email must be specified')); } try { diff --git a/app/code/Magento/CustomerGraphQl/Model/Resolver/UpdateCustomerAddress.php b/app/code/Magento/CustomerGraphQl/Model/Resolver/UpdateCustomerAddress.php index bf41b7ddd10c..36d7d6619931 100644 --- a/app/code/Magento/CustomerGraphQl/Model/Resolver/UpdateCustomerAddress.php +++ b/app/code/Magento/CustomerGraphQl/Model/Resolver/UpdateCustomerAddress.php @@ -70,11 +70,11 @@ public function resolve( array $args = null ) { if (!isset($args['id']) || empty($args['id'])) { - throw new GraphQlInputException(__('Address "id" value should be specified')); + throw new GraphQlInputException(__('Address "id" value must be specified')); } if (!isset($args['input']) || !is_array($args['input']) || empty($args['input'])) { - throw new GraphQlInputException(__('"input" value should be specified')); + throw new GraphQlInputException(__('"input" value must be specified')); } $customer = $this->getCustomer->execute($context);