formatted
CI/CD / test_and_check_app (push) Successful in 1m54s
CI/CD / Publish immutable image (push) Successful in 1m14s

This commit is contained in:
2026-09-24 11:25:07 +02:00
parent 87d0cfc8ff
commit f6831a02a2
3 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -20,7 +20,6 @@ use Inertia\Response;
class TeamController extends Controller
{
use ReservedSlugs;
/**
@@ -142,7 +141,7 @@ class TeamController extends Controller
'email' => 'required|email|max:255',
]);
$teamInvite = $team->invites()->whereInvitedEmail(Arr::get($validated,'email'))->firstOrFail();
$teamInvite = $team->invites()->whereInvitedEmail(Arr::get($validated, 'email'))->firstOrFail();
try {
$teamInvite->delete();