diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-05-18 15:16:50 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-05-18 20:49:08 +0200 |
commit | 88afd8b22466e4dfab8e136f81440b160ee84acb (patch) | |
tree | 8ee6844ef288fc736659bb6778fc1a72ae63957d /apps/oauth2/lib | |
parent | 9d91ebf8e022821db8af15cb4bc0463df7146491 (diff) | |
download | nextcloud-server-88afd8b22466e4dfab8e136f81440b160ee84acb.tar.gz nextcloud-server-88afd8b22466e4dfab8e136f81440b160ee84acb.zip |
Cleanup code
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/oauth2/lib')
-rw-r--r-- | apps/oauth2/lib/Controller/OauthApiController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/oauth2/lib/Controller/OauthApiController.php b/apps/oauth2/lib/Controller/OauthApiController.php index 97f8185149a..b97d85ae3e6 100644 --- a/apps/oauth2/lib/Controller/OauthApiController.php +++ b/apps/oauth2/lib/Controller/OauthApiController.php @@ -81,7 +81,7 @@ class OauthApiController extends Controller { 'token_type' => 'Bearer', 'expires_in' => 3600, 'refresh_token' => $newCode, - 'user_id' => ($this->defaultTokenMapper->getTokenById($accessToken->getTokenId()))->getUID(), + 'user_id' => $this->defaultTokenMapper->getTokenById($accessToken->getTokenId())->getUID(), ] ); } |