Skip to content

Commit

Permalink
Merge pull request #6620 from RocketChat/fix-curl-command-incoming-in…
Browse files Browse the repository at this point in the history
…tegrations

[FIX] Incorrect curl command being generated on incoming integrations
  • Loading branch information
engelgabriel authored Apr 6, 2017
2 parents a619fb4 + 5b90066 commit d10dd22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit d10dd22

Please sign in to comment.