mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Added manager_id to fillable for locations API
This commit is contained in:
parent
22ef2ce0b6
commit
05ea61421f
|
@ -26,7 +26,7 @@ class Location extends SnipeModel
|
|||
'address' => 'max:80|nullable',
|
||||
'address2' => 'max:80|nullable',
|
||||
'zip' => 'min:3|max:10|nullable',
|
||||
// 'manager_id' => 'exists:users'
|
||||
'manager_id' => 'exists:users,id|nullable'
|
||||
);
|
||||
|
||||
/**
|
||||
|
@ -57,6 +57,7 @@ class Location extends SnipeModel
|
|||
'zip',
|
||||
'ldap_ou',
|
||||
'currency',
|
||||
'manager_id',
|
||||
'image',
|
||||
];
|
||||
protected $hidden = ['user_id'];
|
||||
|
|
Loading…
Reference in a new issue