From 7808531e12b36d1c63f74962184c64ddbd3e70ad Mon Sep 17 00:00:00 2001 From: Yingjie Run Date: Fri, 21 Jul 2017 17:35:35 +0800 Subject: [PATCH] fix: error iap request fields --- appstore/model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appstore/model.go b/appstore/model.go index 48fc13c..b75e6a6 100644 --- a/appstore/model.go +++ b/appstore/model.go @@ -6,7 +6,7 @@ type ( IAPRequest struct { ReceiptData string `json:"receipt-data"` 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.