diff --git a/server/notification-providers/whapi.js b/server/notification-providers/whapi.js index 2d1c289d..70e0fbb4 100644 --- a/server/notification-providers/whapi.js +++ b/server/notification-providers/whapi.js @@ -2,18 +2,15 @@ const NotificationProvider = require("./notification-provider"); const axios = require("axios"); class Whapi extends NotificationProvider { - name = "whapi"; /** * @inheritdoc */ async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { - - let okMsg = "Sent Successfully."; + const okMsg = "Sent Successfully."; try { - const config = { headers: { "Accept": "application/json",