Skip to content

Commit 0bbf976

Browse files
ENGCOM-6262: magento/graphql-ce# Remove redundant logic in createCustomer mutation #1052
- Merge Pull Request magento/graphql-ce#1052 from magento/graphql-ce:createCustomer-remove-redundant-logic - Merged commits: 1. 3a7ae91
2 parents 439d2ab + 3a7ae91 commit 0bbf976

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)