From 686f0f0102d2d6f14fc53e00ceb793eaceb1369e Mon Sep 17 00:00:00 2001 From: Ersun Warncke Date: Wed, 18 Mar 2020 10:15:04 -0400 Subject: [PATCH] [misc] fix express deprecations Co-Authored-By: Jakob Ackermann --- services/chat/app/js/Features/Messages/MessageHttpController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/chat/app/js/Features/Messages/MessageHttpController.js b/services/chat/app/js/Features/Messages/MessageHttpController.js index 3c649f21b5..fffbbc44b3 100644 --- a/services/chat/app/js/Features/Messages/MessageHttpController.js +++ b/services/chat/app/js/Features/Messages/MessageHttpController.js @@ -161,7 +161,7 @@ module.exports = MessageHttpController = { if (error != null) { return next(error) } - return res.status(204).send() + return res.sendStatus(204) }) }) },