Skip to content

Commit 56ba587

Browse files
authored
Fix sua browsers type (bsm#96)
1 parent b106b7e commit 56ba587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sua.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package openrtb
33
import "encoding/json"
44

55
type UserAgent struct {
6-
Browsers BrandVersion `json:"browsers,omitempty"` // A browser or similar software component
6+
Browsers []BrandVersion `json:"browsers,omitempty"` // A browser or similar software component
77
Platform BrandVersion `json:"platform,omitempty"` // The user agent’s execution platform / OS
88
Mobile int `json:"mobile,omitempty"` // 1 if the agent prefers a "mobile" version of the content, if available, i.e. optimized for small screens or touch input. 0 if the agent prefers the "desktop". Taken from Sec-CH-UAMobile header
99
Architecture string `json:"architecture,omitempty"` // Device’s major binary architecture, e.g. "x86" or "arm". Taken from the Sec-CH-UA-Arch header

0 commit comments

Comments
 (0)