Skip to content

Commit

Permalink
Revert "LYNX-319: Fixed properties names"
Browse files Browse the repository at this point in the history
This reverts commit cc2a769.
  • Loading branch information
svera committed Jan 22, 2024
1 parent 879df12 commit 6d83d00
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ public function validate(HttpRequestInterface $request): void

$bearerToken = end($headerPieces);
try {
$token = $this->tokenReader->read($bearerToken);
$token = $this->userTokenReader->read($bearerToken);
} catch (UserTokenException $exception) {
throw new GraphQlAuthenticationException(__($exception->getMessage()));
}

try {
$this->tokenValidator->validate($token);
$this->userTokenValidator->validate($token);
} catch (AuthorizationException $exception) {
throw new GraphQlAuthenticationException(__($exception->getMessage()));
}
Expand Down

0 comments on commit 6d83d00

Please sign in to comment.