diff options
Diffstat (limited to 'server/models/oauth/oauth-token.ts')
-rw-r--r-- | server/models/oauth/oauth-token.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/models/oauth/oauth-token.ts b/server/models/oauth/oauth-token.ts index 3541b6103..38953e8ad 100644 --- a/server/models/oauth/oauth-token.ts +++ b/server/models/oauth/oauth-token.ts | |||
@@ -164,9 +164,7 @@ export class OAuthTokenModel extends Model<OAuthTokenModel> { | |||
164 | client: { | 164 | client: { |
165 | id: token.oAuthClientId | 165 | id: token.oAuthClientId |
166 | }, | 166 | }, |
167 | user: { | 167 | user: token.User, |
168 | id: token.userId | ||
169 | }, | ||
170 | token | 168 | token |
171 | } as OAuthTokenInfo | 169 | } as OAuthTokenInfo |
172 | }) | 170 | }) |