mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Remove elements from form request
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
0aa41835f9
commit
43949dad6a
|
@ -24,11 +24,8 @@ class AssetCheckoutRequest extends Request
|
|||
$this->assigned_type = 'App\Models\Location';
|
||||
}
|
||||
|
||||
$this->replace([
|
||||
'assigned_asset' => $this->assigned_asset,
|
||||
'assigned_location' => $this->assigned_location,
|
||||
'assigned_user' => $this->assigned_user,
|
||||
'assigned_type' => $this->checkout_to_type,
|
||||
$this->merge([
|
||||
'assigned_type' => $this->assigned_type,
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue