mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-26 02:30:37 -06:00
Server: fix refreshing token
This commit is contained in:
parent
8c862bf9fd
commit
371fa0933a
@ -38,7 +38,9 @@ function getByRefreshTokenAndPopulateClient (refreshToken) {
|
||||
client: {
|
||||
id: token.client._id.toString()
|
||||
},
|
||||
user: token.user
|
||||
user: {
|
||||
id: token.user
|
||||
}
|
||||
}
|
||||
|
||||
return tokenInfos
|
||||
|
Loading…
Reference in New Issue
Block a user