mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-30 22:31:42 +00: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)
|
|
|