From ea415ea6397efaada22827ba35c8896198bfe7b5 Mon Sep 17 00:00:00 2001 From: James Allen Date: Wed, 9 Jan 2019 16:49:23 +0000 Subject: [PATCH] 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 --- .../web/app/coffee/Features/Project/ProjectController.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/coffee/Features/Project/ProjectController.coffee b/services/web/app/coffee/Features/Project/ProjectController.coffee index ff9b2c0cc8..4571500a81 100644 --- a/services/web/app/coffee/Features/Project/ProjectController.coffee +++ b/services/web/app/coffee/Features/Project/ProjectController.coffee @@ -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()