Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Commit

Permalink
686 Remove extra quoation and change to 'must' Error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
osrecio committed May 9, 2019
1 parent 2ec065d commit 898d032
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 898d032

Please sign in to comment.