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 { try {
await axios.post( await axios.post(
`${url}/bot${notification.baleBotToken}/sendMessage`, `${url}/bot${notification.baleBotToken}/sendMessage`,
{ chat_id: notification.baleChatID, text: msg }, {
chat_id: notification.baleChatID,
text: msg
},
{ {
headers: { headers: {
"content-type": "application/json", "content-type": "application/json",