mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-27 06:29:47 -08:00
Merge pull request #12626 from marcusmoore/fixes/checkouts-in-seeders
Fix seeder so assets are checked out to users
This commit is contained in:
commit
d55393a3d9
|
@ -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,
|
||||
]
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue