mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 18:33:44 +00:00
Merge pull request #1374 from sharelatex/as-fix-dash-user-fetch
Include owners email in user fetch to show on dashboard if needed GitOrigin-RevId: 7175700f77501723f48763b9ee9397c0448d4109
This commit is contained in:
parent
7ee0dcbd7c
commit
ea415ea639
1 changed files with 1 additions and 1 deletions
|
@ -466,7 +466,7 @@ module.exports = ProjectController =
|
|||
for user_id, _ of users
|
||||
do (user_id) ->
|
||||
jobs.push (callback) ->
|
||||
UserGetter.getUserOrUserStubById user_id, { first_name: 1, last_name: 1 }, (error, user) ->
|
||||
UserGetter.getUserOrUserStubById user_id, { first_name: 1, last_name: 1, email: 1 }, (error, user) ->
|
||||
return callback(error) if error?
|
||||
users[user_id] = user
|
||||
callback()
|
||||
|
|
Loading…
Reference in a new issue