We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24dbfba commit 3ea13a8Copy full SHA for 3ea13a8
app/code/Magento/CustomerGraphQl/Model/Resolver/CreateCustomer.php
@@ -63,6 +63,10 @@ public function resolve(
63
array $value = null,
64
array $args = null
65
) {
66
+ if (empty($args['input']) || !is_array($args['input'])) {
67
+ throw new GraphQlInputException(__('"input" value should be specified'));
68
+ }
69
+
70
if (!$this->newsLetterConfig->isActive(ScopeInterface::SCOPE_STORE)) {
71
$args['input']['is_subscribed'] = false;
72
}
0 commit comments