An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: sentry error
Andras Bacsai75fe0050553a
diff --git a/app/Livewire/Team/Invitations.php b/app/Livewire/Team/Invitations.phpindex c51723572e..436c0778df 100644--- a/app/Livewire/Team/Invitations.php+++ b/app/Livewire/Team/Invitations.php@@ -12,7 +12,11 @@ class Invitations extends Componentpublic function deleteInvitation(int $invitation_id){- TeamInvitation::find($invitation_id)->delete();+ $initiation_found = TeamInvitation::find($invitation_id);+ if (!$initiation_found) {+ return $this->dispatch('error', 'Invitation not found.');+ }+ $initiation_found->delete();$this->refreshInvitations();$this->dispatch('success', 'Invitation revoked.');}