fixing routes

This commit is contained in:
Saeed Vaziry
2024-10-07 00:18:11 +02:00
parent a94d1d42d2
commit 8bf1cc141e
22 changed files with 70 additions and 522 deletions

View File

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