From a7f3420435ad2f4cbf0b3ba27df1fd6ed8a5bf39 Mon Sep 17 00:00:00 2001 From: Shay Date: Tue, 5 Apr 2022 16:14:55 -0700 Subject: [PATCH] header error fix --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 8d5eb73..91f1826 100644 --- a/app.js +++ b/app.js @@ -30,7 +30,7 @@ app.post('/interactions', function (req, res) { * Handle verification requests */ if (type === InteractionType.PING) { - return res.json({ "type": InteractionResponseType.PONG }); + return res.send({ "type": InteractionResponseType.PONG }); } /**