Skip to content

Commit 3ad3818

Browse files
author
bosong
committed
remove omitempty from connectiontype
1 parent 0561eb5 commit 3ad3818

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

device.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ type Device struct {
2626
Language string `json:"language,omitempty"` // Browser language
2727
Carrier string `json:"carrier,omitempty"` // Carrier or ISP derived from the IP address
2828
MCCMNC string `json:"mccmnc,omitempty"` // Mobile carrier as the concatenated MCC-MNC code (e.g., "310-005" identifies Verizon Wireless CDMA in the USA).
29-
ConnType int `json:"connectiontype,omitempty"` // Network connection type.
29+
ConnType int `json:"connectiontype"` // Network connection type.
3030
IFA string `json:"ifa,omitempty"` // Native identifier for advertisers
3131
IDSHA1 string `json:"didsha1,omitempty"` // SHA1 hashed device ID
3232
IDMD5 string `json:"didmd5,omitempty"` // MD5 hashed device ID

0 commit comments

Comments
 (0)