formatting changes

pull/4323/head
Frank Elsinga 2 months ago committed by GitHub
parent c088c4453f
commit 532bd2a50d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2,18 +2,15 @@ const NotificationProvider = require("./notification-provider");
const axios = require("axios"); const axios = require("axios");
class Whapi extends NotificationProvider { class Whapi extends NotificationProvider {
name = "whapi"; name = "whapi";
/** /**
* @inheritdoc * @inheritdoc
*/ */
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfully.";
let okMsg = "Sent Successfully.";
try { try {
const config = { const config = {
headers: { headers: {
"Accept": "application/json", "Accept": "application/json",

Loading…
Cancel
Save