Skip to content

Commit 62186a1

Browse files
committed
AC-2797:Static fix for function name isSubscribed()
1 parent 94534f3 commit 62186a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function resolve(
6060
return false;
6161
}
6262

63-
return $this->getSubscriptionStatus($customerId, (int)$store->getWebsiteId());
63+
return $this->isSubscribed($customerId, (int)$store->getWebsiteId());
6464
}
6565

6666
/**
@@ -70,7 +70,7 @@ public function resolve(
7070
* @param int $websiteId
7171
* @return bool
7272
*/
73-
public function getSubscriptionStatus(int $customerId, int $websiteId): bool
73+
public function isSubscribed(int $customerId, int $websiteId): bool
7474
{
7575
$subscriberFactory = $this->subscriberFactory->create();
7676
$subscriptionData = $subscriberFactory->loadByCustomer($customerId, $websiteId);

0 commit comments

Comments
 (0)