mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 10:10:38 -05: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)
|
|
|