diff --git a/app/Jobs/Common/CreateDashboard.php b/app/Jobs/Common/CreateDashboard.php index c94fbe060..eb9edd4f8 100644 --- a/app/Jobs/Common/CreateDashboard.php +++ b/app/Jobs/Common/CreateDashboard.php @@ -136,7 +136,7 @@ class CreateDashboard extends Job 'name' => $name, 'sort' => $sort, 'settings' => (new $class())->getDefaultSettings(), - 'created_by' => user_id(), + 'created_by' => $this->dashboard->created_by, ]); $sort++;