Server: fix refreshing token
This commit is contained in:
parent
8c862bf9fd
commit
371fa0933a
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue