Merge pull request #5434 from pixelfed/staging

Fix typo
This commit is contained in:
daniel 2025-01-05 13:49:46 -07:00 committed by GitHub
commit 81968fd47c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,7 @@ class BearerTokenResponse extends \League\OAuth2\Server\ResponseTypes\BearerToke
protected function getExtraParams(AccessTokenEntityInterface $accessToken)
{
return [
'scopes' => array_map(fn ($scope) => $scope->getIdentifier(), $accessToken->getScopes()),
'scope' => array_map(fn ($scope) => $scope->getIdentifier(), $accessToken->getScopes()),
'created_at' => time(),
];
}