mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-13 06:47:46 -08:00
Adds status ID to asset checkout API endpoint
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
e4ef970934
commit
6b1329133b
|
@ -788,6 +788,9 @@ class AssetsController extends Controller
|
|||
$error_payload['target_type'] = 'user';
|
||||
}
|
||||
|
||||
if ($request->filled('status_id')) {
|
||||
$asset->status_id = $request->get('status_id');
|
||||
}
|
||||
|
||||
|
||||
if (!isset($target)) {
|
||||
|
|
Loading…
Reference in a new issue