1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-12-22 22:13:20 +02:00

Update bale.js

This commit is contained in:
Moqavem 2024-11-26 22:58:47 +03:30 committed by GitHub
parent 65c97bfad2
commit 80caa6df46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,7 +14,10 @@ class Bale extends NotificationProvider {
try {
await axios.post(
`${url}/bot${notification.baleBotToken}/sendMessage`,
{ chat_id: notification.baleChatID, text: msg },
{
chat_id: notification.baleChatID,
text: msg
},
{
headers: {
"content-type": "application/json",