You've already forked AstralRinth
forked from didirus/AstralRinth
Slack webhook for payout source threshold alerts (#4353)
* Slack webhook for payout alerts * add PAYOUT_ALERT_SLACK_WEBHOOK to check_env_vars * Fix commit * Fix webhook format * Add new env vars in .env.local * Rename env vars, fire webhook on error * Fix compilation * Clippy * Fix CI * Add env vars to .env.docker-compose
This commit is contained in:
committed by
GitHub
parent
af3b829449
commit
58aac642a9
@@ -665,7 +665,7 @@ impl AutomatedModerationQueue {
|
||||
.await?;
|
||||
|
||||
if let Ok(webhook_url) = dotenvy::var("MODERATION_SLACK_WEBHOOK") {
|
||||
crate::util::webhook::send_slack_webhook(
|
||||
crate::util::webhook::send_slack_project_webhook(
|
||||
project.inner.id.into(),
|
||||
&pool,
|
||||
&redis,
|
||||
|
||||
Reference in New Issue
Block a user