mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-23 20:31:45 +00:00
update clearProjectState endpoint
This commit is contained in:
parent
2b4c8bd846
commit
0e87b8950e
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ module.exports = DocumentUpdaterHandler =
|
|||
|
||||
clearProjectState: (project_id, callback = (error) ->) ->
|
||||
timer = new metrics.Timer("clear-project-state")
|
||||
url = "#{settings.apis.documentupdater.url}/project/#{project_id}/clear"
|
||||
url = "#{settings.apis.documentupdater.url}/project/#{project_id}/clearState"
|
||||
logger.log project_id:project_id, "clearing project state from document updater"
|
||||
request.post url, (error, res)->
|
||||
timer.done()
|
||||
|
|
Loading…
Reference in a new issue