Skip to content

Commit 6d83d00

Browse files
committed
Revert "LYNX-319: Fixed properties names"
This reverts commit cc2a769.
1 parent 879df12 commit 6d83d00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/CustomerGraphQl/Controller/HttpRequestValidator/AuthorizationRequestValidator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ public function validate(HttpRequestInterface $request): void
6666

6767
$bearerToken = end($headerPieces);
6868
try {
69-
$token = $this->tokenReader->read($bearerToken);
69+
$token = $this->userTokenReader->read($bearerToken);
7070
} catch (UserTokenException $exception) {
7171
throw new GraphQlAuthenticationException(__($exception->getMessage()));
7272
}
7373

7474
try {
75-
$this->tokenValidator->validate($token);
75+
$this->userTokenValidator->validate($token);
7676
} catch (AuthorizationException $exception) {
7777
throw new GraphQlAuthenticationException(__($exception->getMessage()));
7878
}

0 commit comments

Comments
 (0)