fix: error iap request fields

This commit is contained in:
Yingjie Run
2017-07-21 17:35:35 +08:00
parent c9721f9346
commit 7808531e12

View File

@@ -6,7 +6,7 @@ type (
IAPRequest struct { IAPRequest struct {
ReceiptData string `json:"receipt-data"` ReceiptData string `json:"receipt-data"`
Password string `json:"password,omitempty"` Password string `json:"password,omitempty"`
ExcludeOldTransactions bool `json:"exclude_old_transactions,omitempty"` ExcludeOldTransactions bool `json:"exclude-old-transactions"`
} }
// The ReceiptCreationDate type indicates the date when the app receipt was created. // The ReceiptCreationDate type indicates the date when the app receipt was created.