Fix team update issue

This commit is contained in:
Miguel Nogueira 2021-09-04 13:50:43 +01:00
parent e6f84cd09a
commit 521810c23c
Signed by: miguel456
GPG Key ID: 2CF61B825316C6A0

View File

@ -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) {