File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/code/Magento/CustomerGraphQl/Model/Resolver Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public function resolve(
44
44
array $ args = null
45
45
) {
46
46
if (!isset ($ args ['email ' ]) || empty ($ args ['email ' ])) {
47
- throw new GraphQlInputException (__ ('" Email should be specified ' ));
47
+ throw new GraphQlInputException (__ ('Email must be specified ' ));
48
48
}
49
49
50
50
try {
Original file line number Diff line number Diff line change @@ -70,11 +70,11 @@ public function resolve(
70
70
array $ args = null
71
71
) {
72
72
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 ' ));
74
74
}
75
75
76
76
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 ' ));
78
78
}
79
79
80
80
$ customer = $ this ->getCustomer ->execute ($ context );
You can’t perform that action at this time.
0 commit comments