Add forgotten omitempty in DeviceFilter.
This commit is contained in:
parent
08c0cd8ace
commit
e346c5c0e8
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ type DeviceFilter struct {
|
|||
Q string `schema:"q,omitempty"`
|
||||
ManufacturerId string `schema:"manufacturer_id,omitempty"`
|
||||
Manufacturer string `schema:"manufacturer,omitempty"`
|
||||
DeviceTypeId string `schema:"device_type_id"`
|
||||
DeviceTypeId string `schema:"device_type_id,omitempty"`
|
||||
RoleId string `schema:"role_id,omitempty"`
|
||||
Role string `schema:"role,omitempty"`
|
||||
RegionId string `schema:"region_id,omitempty"`
|
||||
|
|
Loading…
Reference in a new issue