From 817a3673677ff9ea78052de7e53f64b2c47cb445 Mon Sep 17 00:00:00 2001 From: Vladimir Vitkov Date: Fri, 12 Aug 2022 11:57:58 +0300 Subject: [PATCH] propper arrays --- tools/rocketchat/webhooks/incomming/gihub.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/rocketchat/webhooks/incomming/gihub.js b/tools/rocketchat/webhooks/incomming/gihub.js index 949f09b..7012495 100644 --- a/tools/rocketchat/webhooks/incomming/gihub.js +++ b/tools/rocketchat/webhooks/incomming/gihub.js @@ -192,8 +192,8 @@ const githubEvents = { return { content: { - text: committer + ' pushed ' + commits.length + ' commits.', - attachments: [atts] + text: committer + ' pushed ' + commits.length + ' commit(s).', + attachments: atts } }; }