status field not present in initial_buy

This commit is contained in:
sanjid133
2019-08-18 13:33:20 +06:00
parent 134bcb9b89
commit a564d013c9
2 changed files with 2 additions and 2 deletions

View File

@@ -153,7 +153,7 @@ type (
// The IAPLatestResponse type has the response properties
// If you use latest_receipt as token to verify, response should be like following struct
IAPLatestResponse struct {
Status int `json:"status"`
Status int `json:"status,omitempty"`
Receipt InApp `json:"receipt"`
LatestReceiptInfo InApp `json:"latest_receipt_info,omitempty"`
LatestExpiredReceiptInfo InApp `json:"latest_expired_receipt_info,omitempty"`