fixed dashboard creation

This commit is contained in:
Denis Duliçi 2020-12-25 17:39:51 +03:00
parent 2e26ba9e7c
commit de3c22299c

View File

@ -65,13 +65,13 @@ class CreateDashboard extends Job
continue; continue;
} }
$list[] = $user; $list[] = $user->id;
} }
} else { } else {
$user = user(); $user = user();
if ($this->shouldCreateDashboardFor($user)) { if ($this->shouldCreateDashboardFor($user)) {
$list[] = $user; $list[] = $user->id;
} }
} }