From 3842a27278e758ac70f00621a7e3127e7a46125b Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Tue, 12 Sep 2017 11:39:18 +0100 Subject: [PATCH] change .../clear endpoint to .../clearState --- services/document-updater/app.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/document-updater/app.coffee b/services/document-updater/app.coffee index ba46a933db..dccedadd92 100644 --- a/services/document-updater/app.coffee +++ b/services/document-updater/app.coffee @@ -39,7 +39,7 @@ app.param 'doc_id', (req, res, next, doc_id) -> app.get '/project/:project_id/doc/:doc_id', HttpController.getDoc app.get '/project/:project_id/doc', HttpController.getProjectDocs -app.post '/project/:project_id/clear', HttpController.clearProjectState +app.post '/project/:project_id/clearState', HttpController.clearProjectState app.post '/project/:project_id/doc/:doc_id', HttpController.setDoc app.post '/project/:project_id/doc/:doc_id/flush', HttpController.flushDocIfLoaded app.delete '/project/:project_id/doc/:doc_id', HttpController.flushAndDeleteDoc