mirror of https://github.com/Chocobozzz/PeerTube
Server: fix refreshing token
parent
8c862bf9fd
commit
371fa0933a
|
@ -38,7 +38,9 @@ function getByRefreshTokenAndPopulateClient (refreshToken) {
|
||||||
client: {
|
client: {
|
||||||
id: token.client._id.toString()
|
id: token.client._id.toString()
|
||||||
},
|
},
|
||||||
user: token.user
|
user: {
|
||||||
|
id: token.user
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return tokenInfos
|
return tokenInfos
|
||||||
|
|
Loading…
Reference in New Issue