Fixed seeder

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-10-26 02:56:34 +01:00
parent 522aa96fcc
commit 436192b836

View file

@ -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(
[