mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add project_id to the entities payload
This commit is contained in:
parent
3c3ce2010a
commit
08263180fa
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ module.exports = ProjectController =
|
||||||
path: e.path,
|
path: e.path,
|
||||||
type: if e.doc? then 'doc' else 'file'
|
type: if e.doc? then 'doc' else 'file'
|
||||||
}
|
}
|
||||||
res.json({entities: entities})
|
res.json({project_id: project_id, entities: entities})
|
||||||
|
|
||||||
projectListPage: (req, res, next)->
|
projectListPage: (req, res, next)->
|
||||||
timer = new metrics.Timer("project-list")
|
timer = new metrics.Timer("project-list")
|
||||||
|
|
Loading…
Reference in a new issue