Add forgotten omitempty in DeviceFilter.

This commit is contained in:
Kalle Carlbark 2019-09-11 14:01:58 +02:00
parent 08c0cd8ace
commit e346c5c0e8
No known key found for this signature in database
GPG key ID: 3FC0C93C5A5A0670

View file

@ -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"`