Skip to content

Commit 568e35c

Browse files
committed
AC-1821: Registered User & Customer API fixes
* updated plugin as per nathan comments
1 parent 917d6c1 commit 568e35c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/Model/Plugin/UpdateCustomer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function beforeSave(
5353
CustomerInterface $customer,
5454
?string $passwordHash = null
5555
): array {
56-
$customerSessionId = $this->userContext->getUserType() === self::USER_TYPE_CUSTOMER ?
56+
$customerSessionId = $this->userContext->getUserType() === $this->userContext::USER_TYPE_CUSTOMER ?
5757
$this->userContext->getUserId() : 0;
5858
$customerId = (int)$this->request->getParam('customerId');
5959
$bodyParams = $this->request->getBodyParams();

0 commit comments

Comments
 (0)