Fix team update issue
This commit is contained in:
parent
e6f84cd09a
commit
521810c23c
|
@ -108,7 +108,7 @@ class TeamController extends Controller
|
||||||
public function update(EditTeamRequest $request, Team $team): RedirectResponse
|
public function update(EditTeamRequest $request, Team $team): RedirectResponse
|
||||||
{
|
{
|
||||||
$this->authorize('update', $team);
|
$this->authorize('update', $team);
|
||||||
$team = $this->teamService->updateTeam($team, $request->teamDescription, $team->joinType);
|
$team = $this->teamService->updateTeam($team, $request->teamDescription, $request->joinType);
|
||||||
|
|
||||||
|
|
||||||
if ($team) {
|
if ($team) {
|
||||||
|
|
Loading…
Reference in New Issue