Skip to content

Commit

Permalink
Ver as interface and Link as omitempty
Browse files Browse the repository at this point in the history
  • Loading branch information
Araknyfe committed Mar 21, 2024
1 parent ddd4e20 commit 2488b59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions native1/response/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type Response struct {
// 1.2
// Description:
// Version of the Native Markup version in use.
Ver string `json:"ver,omitempty"`
Ver interface{} `json:"ver,omitempty"`

// Field:
// assets
Expand Down Expand Up @@ -86,7 +86,7 @@ type Response struct {
// This is default link object for the ad.
// Individual assets can also have a link object which applies if the asset is activated(clicked).
// If the asset doesn’t have a link object, the parent link object applies.
Link Link `json:"link"`
Link Link `json:"link,omitempty"`

// Field:
// imptrackers
Expand Down

0 comments on commit 2488b59

Please sign in to comment.