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.
2 parents 2635bd8 + baec752 commit ff7e1deCopy full SHA for ff7e1de
app/code/Magento/CustomerGraphQl/Model/Resolver/DeleteCustomerAddress.php
@@ -58,10 +58,6 @@ public function resolve(
58
throw new GraphQlAuthorizationException(__('The current customer isn\'t authorized.'));
59
}
60
61
- if (empty($args['id'])) {
62
- throw new GraphQlInputException(__('Address "id" value should be specified'));
63
- }
64
-
65
$address = $this->getCustomerAddress->execute((int)$args['id'], $context->getUserId());
66
$this->deleteCustomerAddress->execute($address);
67
return true;
0 commit comments