mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 20:39:12 +08:00
Enforce semicolon, fix format globally
This commit is contained in:
@@ -24,17 +24,17 @@ class Webhook extends NotificationProvider {
|
||||
|
||||
config = {
|
||||
headers: finalData.getHeaders(),
|
||||
}
|
||||
};
|
||||
|
||||
} else {
|
||||
finalData = data;
|
||||
}
|
||||
|
||||
await axios.post(notification.webhookURL, finalData, config)
|
||||
await axios.post(notification.webhookURL, finalData, config);
|
||||
return okMsg;
|
||||
|
||||
} catch (error) {
|
||||
this.throwGeneralAxiosError(error)
|
||||
this.throwGeneralAxiosError(error);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user