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.
1 parent 94534f3 commit 62186a1Copy full SHA for 62186a1
app/code/Magento/CustomerGraphQl/Model/Resolver/IsSubscribed.php
@@ -60,7 +60,7 @@ public function resolve(
60
return false;
61
}
62
63
- return $this->getSubscriptionStatus($customerId, (int)$store->getWebsiteId());
+ return $this->isSubscribed($customerId, (int)$store->getWebsiteId());
64
65
66
/**
@@ -70,7 +70,7 @@ public function resolve(
70
* @param int $websiteId
71
* @return bool
72
*/
73
- public function getSubscriptionStatus(int $customerId, int $websiteId): bool
+ public function isSubscribed(int $customerId, int $websiteId): bool
74
{
75
$subscriberFactory = $this->subscriberFactory->create();
76
$subscriptionData = $subscriberFactory->loadByCustomer($customerId, $websiteId);
0 commit comments