From 436192b8362ddedf84da1a91d4db09b048cf8b5f Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 26 Oct 2023 02:56:34 +0100 Subject: [PATCH] Fixed seeder Signed-off-by: snipe --- database/factories/ActionlogFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/factories/ActionlogFactory.php b/database/factories/ActionlogFactory.php index c25fdcc70a..1a4007888c 100644 --- a/database/factories/ActionlogFactory.php +++ b/database/factories/ActionlogFactory.php @@ -38,7 +38,7 @@ class ActionlogFactory extends Factory { return $this->state(function () { $target = User::inRandomOrder()->first(); - $asset = Asset::RTD()->inRandomOrder()->first(); + $asset = Asset::inRandomOrder()->RTD()->first(); $asset->update( [