mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -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?
|
||||||
if error instanceof Errors.ServiceNotConfiguredError
|
if error instanceof Errors.ServiceNotConfiguredError
|
||||||
# ignore, no-op
|
# ignore, no-op
|
||||||
return next(204)
|
return res.send(204)
|
||||||
else
|
else
|
||||||
return next(error)
|
return next(error)
|
||||||
res.send 204
|
res.send 204
|
||||||
|
|
Loading…
Reference in a new issue