Skip to content

Commit 7524426

Browse files
authored
Update transaction_model.go (#383)
fix bug: apple refunded transaction revocationReason type should be int32 https://developer.apple.com/documentation/appstoreserverapi/revocationreason
1 parent a58aa3d commit 7524426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: apple/transaction_model.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ type TransactionsItem struct {
4040
PurchaseDate int64 `json:"purchaseDate"`
4141
Quantity int `json:"quantity"`
4242
RevocationDate int64 `json:"revocationDate"`
43-
RevocationReason string `json:"revocationReason"`
43+
RevocationReason int `json:"revocationReason"`
4444
SignedDate int64 `json:"signedDate"`
4545
Storefront string `json:"storefront"`
4646
StorefrontId string `json:"storefrontId"`

0 commit comments

Comments
 (0)