mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-09 17:49:03 +00:00
update docupdater endpoint to /project/id/docs
This commit is contained in:
parent
38c879faf2
commit
1321009fe1
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ module.exports = DocumentUpdaterHandler =
|
|||
|
||||
getProjectDocs: (project_id, callback = (error, docs) ->) ->
|
||||
timer = new metrics.Timer("get-project-docs")
|
||||
url = "#{settings.apis.documentupdater.url}/project/#{project_id}"
|
||||
url = "#{settings.apis.documentupdater.url}/project/#{project_id}/doc"
|
||||
logger.log project_id:project_id, "getting project docs from document updater"
|
||||
request.get url, (error, res, body)->
|
||||
timer.done()
|
||||
|
|
Loading…
Add table
Reference in a new issue