Skip to content

Commit

Permalink
magento/graphql-ce# Remove redundant logic in createCustomer mutation
Browse files Browse the repository at this point in the history
  • Loading branch information
atwixfirster committed Nov 9, 2019
1 parent efd77d3 commit 3a7ae91
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3a7ae91

Please sign in to comment.