Merge pull request #12626 from marcusmoore/fixes/checkouts-in-seeders

Fix seeder so assets are checked out to users
This commit is contained in:
snipe 2023-03-06 17:01:47 -08:00 committed by GitHub
commit d55393a3d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ class ActionlogFactory extends Factory
[
'assigned_to' => $target->id,
'assigned_type' => \App\Models\User::class,
'assigned_to' => $target->location_id,
'location_id' => $target->location_id,
]
);
@ -84,7 +84,7 @@ class ActionlogFactory extends Factory
[
'assigned_to' => $target->id,
'assigned_type' => \App\Models\Location::class,
'assigned_to' => $target->id,
'location_id' => $target->id,
]
);