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:
parent
9ad2a340bf
commit
c129e8353c
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue