mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 19:11:56 +02:00
Use res.send, not next
This commit is contained in:
@@ -8,7 +8,7 @@ module.exports = AnalyticsController =
|
||||
if error?
|
||||
if error instanceof Errors.ServiceNotConfiguredError
|
||||
# ignore, no-op
|
||||
return next(204)
|
||||
return res.send(204)
|
||||
else
|
||||
return next(error)
|
||||
res.send 204
|
||||
|
||||
Reference in New Issue
Block a user