mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
fixing routes
This commit is contained in:
@ -18,6 +18,8 @@ public function update(User $user, array $input): void
|
||||
$user->save();
|
||||
}
|
||||
|
||||
$user->refresh();
|
||||
|
||||
/** @var Project $firstProject */
|
||||
$firstProject = $user->projects->first();
|
||||
if (! $user->currentProject && $firstProject) {
|
||||
|
Reference in New Issue
Block a user