Skip to content

Commit

Permalink
Add the json struct tag for meta links
Browse files Browse the repository at this point in the history
  • Loading branch information
optik-aper committed Feb 28, 2024
1 parent da63ee8 commit 2c1e86b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package govultr

// Meta represents the available pagination information
type Meta struct {
Total int `json:"total"`
Links *Links
Total int `json:"total"`
Links *Links `json:"links"`
}

// Links represent the next/previous cursor in your pagination calls
Expand Down

0 comments on commit 2c1e86b

Please sign in to comment.