mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 06:03:42 -05:00
[misc] fix express deprecations
This commit is contained in:
parent
236292c2f8
commit
c4a60bb4e9
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ const HealthCheckController = require('./app/js/HealthCheckController')
|
|||
app.use(bodyParser.json({ limit: '2mb' }))
|
||||
app.use(metrics.http.monitor(logger))
|
||||
|
||||
app.del('/user/:user_id', SpellingAPIController.deleteDic)
|
||||
app.delete('/user/:user_id', SpellingAPIController.deleteDic)
|
||||
app.get('/user/:user_id', SpellingAPIController.getDic)
|
||||
app.post('/user/:user_id/check', SpellingAPIController.check)
|
||||
app.post('/user/:user_id/learn', SpellingAPIController.learn)
|
||||
|
|
Loading…
Reference in a new issue