Add project_id to the entities payload

This commit is contained in:
Shane Kilkelly 2018-05-04 11:03:54 +01:00
parent 3c3ce2010a
commit 08263180fa

View file

@ -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")