Skip to content

Commit

Permalink
Fix sua browsers type (bsm#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
Katsukiniwa authored Jan 20, 2023
1 parent b106b7e commit 56ba587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sua.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package openrtb
import "encoding/json"

type UserAgent struct {
Browsers BrandVersion `json:"browsers,omitempty"` // A browser or similar software component
Browsers []BrandVersion `json:"browsers,omitempty"` // A browser or similar software component
Platform BrandVersion `json:"platform,omitempty"` // The user agent’s execution platform / OS
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
Architecture string `json:"architecture,omitempty"` // Device’s major binary architecture, e.g. "x86" or "arm". Taken from the Sec-CH-UA-Arch header
Expand Down

0 comments on commit 56ba587

Please sign in to comment.