Merge pull request #6837 from coollabsio/andrasbacsai/custom-webhooks

feat: add custom webhook notification support
This commit is contained in:
Andras Bacsai
2025-10-12 10:57:47 +02:00
committed by GitHub
29 changed files with 889 additions and 0 deletions
+6
View File
@@ -54,6 +54,7 @@ class Team extends Model implements SendsDiscord, SendsEmail, SendsPushover, Sen
$team->slackNotificationSettings()->create();
$team->telegramNotificationSettings()->create();
$team->pushoverNotificationSettings()->create();
$team->webhookNotificationSettings()->create();
});
static::saving(function ($team) {
@@ -312,4 +313,9 @@ class Team extends Model implements SendsDiscord, SendsEmail, SendsPushover, Sen
{
return $this->hasOne(PushoverNotificationSettings::class);
}
public function webhookNotificationSettings()
{
return $this->hasOne(WebhookNotificationSettings::class);
}
}