From 521810c23c79a7b2d4633f8dcab0fdb6b71123f2 Mon Sep 17 00:00:00 2001 From: Miguel N Date: Sat, 4 Sep 2021 13:50:43 +0100 Subject: [PATCH] Fix team update issue --- app/Http/Controllers/TeamController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/TeamController.php b/app/Http/Controllers/TeamController.php index 91565f7..56b735b 100755 --- a/app/Http/Controllers/TeamController.php +++ b/app/Http/Controllers/TeamController.php @@ -108,7 +108,7 @@ class TeamController extends Controller public function update(EditTeamRequest $request, Team $team): RedirectResponse { $this->authorize('update', $team); - $team = $this->teamService->updateTeam($team, $request->teamDescription, $team->joinType); + $team = $this->teamService->updateTeam($team, $request->teamDescription, $request->joinType); if ($team) {