diff --git a/app/Http/Livewire/Notifications/EmailSettings.php b/app/Http/Livewire/Notifications/EmailSettings.php index 4ddfaf87f..4ef735a04 100644 --- a/app/Http/Livewire/Notifications/EmailSettings.php +++ b/app/Http/Livewire/Notifications/EmailSettings.php @@ -107,7 +107,14 @@ public function instantSave() return general_error_handler($e, $this); } } - + public function saveModel() + { + $this->team->save(); + if (is_a($this->team, Team::class)) { + refreshSession(); + } + $this->emit('success', 'Settings saved.'); + } public function submit() { try { diff --git a/app/Notifications/Test.php b/app/Notifications/Test.php index 685434cb2..0b47d74b2 100644 --- a/app/Notifications/Test.php +++ b/app/Notifications/Test.php @@ -45,7 +45,7 @@ public function toTelegram(): array "buttons" => [ [ "text" => "Go to your dashboard", - "url" => 'https://coolify.io' + "url" => base_url() ] ], ]; diff --git a/config/sentry.php b/config/sentry.php index 7b993b0d9..ea6317851 100644 --- a/config/sentry.php +++ b/config/sentry.php @@ -7,7 +7,7 @@ // The release version of your application // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')) - 'release' => '4.0.0-beta.24', + 'release' => '4.0.0-beta.25', 'server_name' => env('APP_ID', 'coolify'), // When left empty or `null` the Laravel environment will be used 'environment' => config('app.env'), diff --git a/config/version.php b/config/version.php index 54f276a01..03ee49dc6 100644 --- a/config/version.php +++ b/config/version.php @@ -1,3 +1,3 @@