Skip to content

Commit ee5341f

Browse files
heiytorgustavosbarreto
authored andcommitted
fix(api): remove omitempty tag in models.Device#Tags
1 parent e96804c commit ee5341f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/models/device.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ type Device struct {
4444
CreatedAt time.Time `json:"created_at" bson:"created_at,omitempty"`
4545
RemoteAddr string `json:"remote_addr" bson:"remote_addr"`
4646
Position *DevicePosition `json:"position" bson:"position"`
47-
Tags []string `json:"tags" bson:"tags,omitempty"`
47+
Tags []string `json:"tags" bson:"tags"`
4848
Acceptable bool `json:"acceptable" bson:"acceptable,omitempty"`
4949
}
5050

0 commit comments

Comments
 (0)