From 0830a149e40f60d71be7b6ec958047499542aa2b Mon Sep 17 00:00:00 2001 From: Hudell Date: Wed, 28 Mar 2018 18:08:33 -0300 Subject: [PATCH] Include body on the request object of incoming webhook --- packages/rocketchat-integrations/server/api/api.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/rocketchat-integrations/server/api/api.js b/packages/rocketchat-integrations/server/api/api.js index f2b563272c172..855f09e7f7d03 100644 --- a/packages/rocketchat-integrations/server/api/api.js +++ b/packages/rocketchat-integrations/server/api/api.js @@ -198,6 +198,7 @@ function executeIntegrationRest() { content: this.bodyParams, content_raw: this.request._readableState && this.request._readableState.buffer && this.request._readableState.buffer.toString(), headers: this.request.headers, + body: this.request.body, user: { _id: this.user._id, name: this.user.name,