From 1663f2a8eb6e19fa490bb8f24f15253b6bd56d95 Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Tue, 21 Mar 2017 11:09:39 +0000 Subject: [PATCH] Use res.send, not next --- .../app/coffee/Features/Analytics/AnalyticsController.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/coffee/Features/Analytics/AnalyticsController.coffee b/services/web/app/coffee/Features/Analytics/AnalyticsController.coffee index 75a8bf092a..1f2466674c 100644 --- a/services/web/app/coffee/Features/Analytics/AnalyticsController.coffee +++ b/services/web/app/coffee/Features/Analytics/AnalyticsController.coffee @@ -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