Skip to content

Commit 20e2254

Browse files
authored
ENGCOM-6262: magento/graphql-ce# Remove redundant logic in createCustomer mutation #1052
2 parents 915c596 + 0bbf976 commit 20e2254

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ public function resolve(
6363
array $value = null,
6464
array $args = null
6565
) {
66-
if (empty($args['input']) || !is_array($args['input'])) {
67-
throw new GraphQlInputException(__('"input" value should be specified'));
68-
}
69-
7066
if (!$this->newsLetterConfig->isActive(ScopeInterface::SCOPE_STORE)) {
7167
$args['input']['is_subscribed'] = false;
7268
}

0 commit comments

Comments
 (0)