1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-08-10 07:55:27 +02:00

fix: 🐛 fix slack

This commit is contained in:
HannesOberreiter 2024-04-08 16:34:52 +02:00
parent 9ad2a340bf
commit c129e8353c

View file

@ -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) {