diff --git a/app/code/Magento/CustomerGraphQl/Model/Resolver/CreateCustomer.php b/app/code/Magento/CustomerGraphQl/Model/Resolver/CreateCustomer.php index c690e11bd494..5136b92f170c 100644 --- a/app/code/Magento/CustomerGraphQl/Model/Resolver/CreateCustomer.php +++ b/app/code/Magento/CustomerGraphQl/Model/Resolver/CreateCustomer.php @@ -63,10 +63,6 @@ public function resolve( array $value = null, array $args = null ) { - if (empty($args['input']) || !is_array($args['input'])) { - throw new GraphQlInputException(__('"input" value should be specified')); - } - if (!$this->newsLetterConfig->isActive(ScopeInterface::SCOPE_STORE)) { $args['input']['is_subscribed'] = false; }