mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-28 03:21:14 +00:00
Merge pull request #65 from overleaf/jpa-fix-express-deprecations
[misc] fix express deprecations
This commit is contained in:
commit
5037162f3d
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