From bb4822a97520f298c17db359fdd20c7ab127249e Mon Sep 17 00:00:00 2001 From: petruki <31597636+petruki@users.noreply.github.com> Date: Sun, 25 Sep 2022 18:55:13 -0700 Subject: [PATCH] Fixed potential XSS vulnerability /slack resource --- src/routers/slack.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routers/slack.js b/src/routers/slack.js index e1face5..f845ecc 100644 --- a/src/routers/slack.js +++ b/src/routers/slack.js @@ -30,7 +30,7 @@ const deleteInstallation = async (req, res) => { req.query.enterprise_id, req.query.team_id); if (!slack) throw new NotFoundError(); - res.send(slack); + res.send({ message: 'Installation deleted' }); } catch (e) { responseException(res, e, 400); }