Fix session.getUser().
This commit is contained in:
parent
7aac124407
commit
1d0de4584e
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user