Nick: fixed prettier

This commit is contained in:
Nicolas
2024-12-11 19:46:11 -03:00
parent e5fe9e1534
commit 00335e2ba9
134 changed files with 9565 additions and 7108 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ export async function checkAlerts() {
};
await checkAll();
// setInterval(checkAll, 10000); // Run every
// setInterval(checkAll, 10000); // Run every
}
} catch (error) {
logger.error(`Failed to initialize alerts: ${error}`);
+3 -3
View File
@@ -8,14 +8,14 @@ export async function sendSlackWebhook(
) {
const messagePrefix = alertEveryone ? "<!channel> " : "";
const payload = {
text: `${messagePrefix} ${message}`,
text: `${messagePrefix} ${message}`
};
try {
const response = await axios.post(webhookUrl, payload, {
headers: {
"Content-Type": "application/json",
},
"Content-Type": "application/json"
}
});
logger.info("Webhook sent successfully:", response.data);
} catch (error) {