mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-25 05:50:45 +00:00
Fix typo
This commit is contained in:
parent
bbe447244d
commit
fc8709bc4b
1 changed files with 1 additions and 1 deletions
|
@ -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(),
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue