mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
12 lines
308 B
CoffeeScript
12 lines
308 B
CoffeeScript
ProjectDetailsHandler = require("./ProjectDetailsHandler")
|
|
logger = require("logger-sharelatex")
|
|
|
|
|
|
module.exports =
|
|
|
|
getProjectDetails : (req, res, next)->
|
|
{project_id} = req.params
|
|
ProjectDetailsHandler.getDetails project_id, (err, projDetails)->
|
|
return next(err) if err?
|
|
res.json(projDetails)
|
|
|