mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 05:41:33 +02:00
Remove unused method.
This commit is contained in:
@@ -95,16 +95,6 @@ module.exports = HttpController =
|
||||
return next(error) if error?
|
||||
logger.log project_id: project_id, "deleted project via http"
|
||||
res.send 204 # No Content
|
||||
|
||||
acceptChange: (req, res, next = (error) ->) ->
|
||||
{project_id, doc_id, change_id} = req.params
|
||||
logger.log {project_id, doc_id, change_id}, "accepting change via http"
|
||||
timer = new Metrics.Timer("http.acceptChange")
|
||||
DocumentManager.acceptChangesWithLock project_id, doc_id, [ change_id ], (error) ->
|
||||
timer.done()
|
||||
return next(error) if error?
|
||||
logger.log {project_id, doc_id, change_id}, "accepted change via http"
|
||||
res.send 204 # No Content
|
||||
|
||||
acceptChanges: (req, res, next = (error) ->) ->
|
||||
{project_id, doc_id} = req.params
|
||||
|
||||
Reference in New Issue
Block a user