Skip to content

Commit 73262e2

Browse files
ENGCOM-5095: 686 Remove extra quoation and change to 'must' Error messages #695
- Merge Pull Request magento/graphql-ce#695 from osrecio/graphql-ce:686-remove-extra-sign - Merged commits: 1. 898d032
2 parents 2ec065d + 898d032 commit 73262e2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/code/Magento/CustomerGraphQl/Model/Resolver/IsEmailAvailable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function resolve(
4444
array $args = null
4545
) {
4646
if (!isset($args['email']) || empty($args['email'])) {
47-
throw new GraphQlInputException(__('"Email should be specified'));
47+
throw new GraphQlInputException(__('Email must be specified'));
4848
}
4949

5050
try {

app/code/Magento/CustomerGraphQl/Model/Resolver/UpdateCustomerAddress.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ public function resolve(
7070
array $args = null
7171
) {
7272
if (!isset($args['id']) || empty($args['id'])) {
73-
throw new GraphQlInputException(__('Address "id" value should be specified'));
73+
throw new GraphQlInputException(__('Address "id" value must be specified'));
7474
}
7575

7676
if (!isset($args['input']) || !is_array($args['input']) || empty($args['input'])) {
77-
throw new GraphQlInputException(__('"input" value should be specified'));
77+
throw new GraphQlInputException(__('"input" value must be specified'));
7878
}
7979

8080
$customer = $this->getCustomer->execute($context);

0 commit comments

Comments
 (0)