fix: 🐛 fix slack

pull/691/head
HannesOberreiter 2 years ago
parent 9ad2a340bf
commit c129e8353c

@ -66,7 +66,7 @@ const handleSlack = () => {
method: 'POST',
body: JSON.stringify(data),
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
'Content-Type': 'application/json; charset=utf-8',
Authorization: `Bearer ${TOKEN}`,
},
});
@ -98,7 +98,7 @@ const handleWebhook = () => {
function buildHeaders() {
const headers = {
'Content-Type': 'application/json',
'Content-Type': 'application/json; charset=utf-8',
};
if (TOKEN) {

Loading…
Cancel
Save