Fix refresh token

pull/2732/head
Chocobozzz 2020-05-07 16:36:04 +02:00
parent 8bff1fe009
commit 716adfaed6
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 3 deletions

View File

@ -164,9 +164,7 @@ export class OAuthTokenModel extends Model<OAuthTokenModel> {
client: {
id: token.oAuthClientId
},
user: {
id: token.userId
},
user: token.User,
token
} as OAuthTokenInfo
})