From 5b900667d26358579fc31ee3da2209893927b611 Mon Sep 17 00:00:00 2001 From: Bradley Hilton Date: Thu, 6 Apr 2017 14:45:09 -0400 Subject: [PATCH] Fix the generated curl command on incoming integrations --- .../client/views/integrationsIncoming.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rocketchat-integrations/client/views/integrationsIncoming.js b/packages/rocketchat-integrations/client/views/integrationsIncoming.js index 1825d51a0024..f255ea62ac2c 100644 --- a/packages/rocketchat-integrations/client/views/integrationsIncoming.js +++ b/packages/rocketchat-integrations/client/views/integrationsIncoming.js @@ -118,7 +118,7 @@ Template.integrationsIncoming.helpers({ } }); - return `curl -X POST -H 'Content-Type: application/json' --data 'payload=${ JSON.stringify(data) }' ${ record.url }`; + return `curl -X POST -H 'Content-Type: application/json' --data '${ JSON.stringify(data) }' ${ record.url }`; }, editorOptions() {