Skip to content

Commit

Permalink
Merge pull request #25 from zveinn/api-response-fix
Browse files Browse the repository at this point in the history
quick fix for broken Products.Get() api
  • Loading branch information
AchoArnold authored Mar 24, 2024
2 parents 81f23ab + 05dbc2f commit 78d640c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion product.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type ProductAttributes struct {
StatusFormatted string `json:"status_formatted"`
ThumbURL string `json:"thumb_url"`
LargeThumbURL string `json:"large_thumb_url"`
Price int `json:"price"`
Price any `json:"price"`
PayWhatYouWant bool `json:"pay_what_you_want"`
FromPrice *int `json:"from_price"`
ToPrice *int `json:"to_price"`
Expand Down

0 comments on commit 78d640c

Please sign in to comment.