1
0
Fork 0

Server: fix refreshing token

This commit is contained in:
Chocobozzz 2016-11-04 11:34:23 +01:00
parent 8c862bf9fd
commit 371fa0933a

View file

@ -38,7 +38,9 @@ function getByRefreshTokenAndPopulateClient (refreshToken) {
client: {
id: token.client._id.toString()
},
user: token.user
user: {
id: token.user
}
}
return tokenInfos