We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 98a66a7 + 5205478 commit cdf3b75Copy full SHA for cdf3b75
github-pullrequest-plugin/src/main/webapp/scripts/featureButton.js
@@ -1,7 +1,9 @@
1
function callFeature(button, answerPlaceId, parameters) {
2
fetch(button.action, {
3
method: "post",
4
- headers: crumb.wrap({}),
+ headers: crumb.wrap({
5
+ "Content-Type": "application/x-www-form-urlencoded",
6
+ }),
7
body: new URLSearchParams(parameters),
8
}).then(rsp => {
9
rsp.text().then((responseText) => {
0 commit comments