Skip to content

Commit

Permalink
IBX-5705: Fixed Token handler getTokenType to return id (#267)
Browse files Browse the repository at this point in the history
For more details see https://issues.ibexa.co/browse/IBX-5705 and #267

Token\Handler::getTokenType returned object instead of id
  • Loading branch information
Nattfarinn authored Sep 19, 2023
1 parent c7d22aa commit f020797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Persistence/Legacy/Token/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function deleteExpiredTokens(?string $tokenType = null): void
{
try {
if (null !== $tokenType) {
$typeId = $this->getTokenType($tokenType);
$typeId = $this->getTokenType($tokenType)->id;
}
} catch (NotFoundException $exception) {
return;
Expand Down

0 comments on commit f020797

Please sign in to comment.