Fix session.getUser().

This commit is contained in:
Julien Fontanet 2015-05-18 11:56:37 +02:00
parent 7aac124407
commit 1d0de4584e

View File

@ -57,7 +57,7 @@ export const getUser = coroutine(function () {
return userId === undefined ?
null :
this.getUserPublicProperties(wait(this.users.first(userId)))
this.getUserPublicProperties(wait(this.getUser(userId)))
})
getUser.description = 'return the currently connected user'