Merge pull request #5433 from coollabsio/debug-emails

Emails
This commit is contained in:
Andras Bacsai 2025-03-26 17:27:34 +01:00 committed by GitHub
commit d6d16f3844
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 5 deletions

View file

@ -70,10 +70,6 @@ public function team()
public function isEnabled() public function isEnabled()
{ {
if (isCloud()) {
return true;
}
return $this->smtp_enabled || $this->resend_enabled || $this->use_instance_email_settings; return $this->smtp_enabled || $this->resend_enabled || $this->use_instance_email_settings;
} }
} }

View file

@ -83,7 +83,7 @@ public function toTelegram(): array
'buttons' => [ 'buttons' => [
[ [
'text' => 'Go to your dashboard', 'text' => 'Go to your dashboard',
'url' => base_url(), 'url' => isDev() ? 'https://staging-but-dev.coolify.io' : base_url(),
], ],
], ],
]; ];