From 08263180fa1c6bf16c2d7a192724841db7d9f608 Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Fri, 4 May 2018 11:03:54 +0100 Subject: [PATCH] Add project_id to the entities payload --- .../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 3d1d11da71..b69c1e412b 100644 --- a/services/web/app/coffee/Features/Project/ProjectController.coffee +++ b/services/web/app/coffee/Features/Project/ProjectController.coffee @@ -167,7 +167,7 @@ module.exports = ProjectController = path: e.path, type: if e.doc? then 'doc' else 'file' } - res.json({entities: entities}) + res.json({project_id: project_id, entities: entities}) projectListPage: (req, res, next)-> timer = new metrics.Timer("project-list")