mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Use res.send, not next
This commit is contained in:
parent
1ed1eaaa05
commit
1663f2a8eb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue