mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-06 00:13:44 -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)
|
|
|