Server: fix refreshing token

pull/24/head
Chocobozzz 2016-11-04 11:34:23 +01:00
parent 8c862bf9fd
commit 371fa0933a
1 changed files with 3 additions and 1 deletions

View File

@ -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