diff --git a/app/Http/Controllers/Api/Deploy.php b/app/Http/Controllers/Api/Deploy.php index 04fc9b816..f235256bb 100644 --- a/app/Http/Controllers/Api/Deploy.php +++ b/app/Http/Controllers/Api/Deploy.php @@ -97,7 +97,7 @@ public function by_tags(string $tags, int $team_id, bool $force = false) public function deploy_resource($resource, bool $force = false): Collection { $message = collect([]); - $type = $resource->getMorphClass(); + $type = $resource?->getMorphClass(); if ($type === 'App\Models\Application') { queue_application_deployment( application: $resource, diff --git a/config/sentry.php b/config/sentry.php index 8013d44e6..2d8f7c7f3 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.208', + 'release' => '4.0.0-beta.209', // 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 51db94a70..ff1387709 100644 --- a/config/version.php +++ b/config/version.php @@ -1,3 +1,3 @@