Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
Merge pull request #11 from Crazy-Owl/secure
Browse files Browse the repository at this point in the history
make secure field a pointer so zero value can be included in JSON
  • Loading branch information
mxmCherry authored Aug 17, 2017
2 parents 0dd1480 + 0abeb25 commit 00632a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imp.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ type Imp struct {
// creative assets and markup, where 0 = non-secure, 1 = secure.
// If omitted, the secure state is unknown, but non-secure HTTP
// support can be assumed.
Secure int8 `json:"secure,omitempty"`
Secure *int8 `json:"secure,omitempty"`

// Attribute:
// iframebuster
Expand Down

0 comments on commit 00632a6

Please sign in to comment.