fix: smtp view

This commit is contained in:
Andras Bacsai committed 2023-09-15 11:28:44 +02:00
1 parent b07cc500e7
commit 019670d5d1
7 files changed
+59 -65

No files matched your search

+7
View File
@@ -19,6 +19,13 @@ class Team extends Model implements SendsDiscord, SendsEmail
'resend_api_key' => 'encrypted',
];
protected static function booted()
{
static::saved(function () {
refreshSession();
});
}
public function routeNotificationForDiscord()
{
return data_get($this, 'discord_webhook_url', null);