Преглед изворни кода

Add project_id to the entities payload

Shane Kilkelly пре 8 година
родитељ
комит
08263180fa
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      services/web/app/coffee/Features/Project/ProjectController.coffee

+ 1 - 1
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")