From 1bd99243d78297783c42164126f0142b2ee991a9 Mon Sep 17 00:00:00 2001 From: Matija Lesar Date: Mon, 25 Nov 2019 12:42:41 +0100 Subject: [PATCH] Changed environment property type --- appstore/notification.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/appstore/notification.go b/appstore/notification.go index 6ce70b2..db41010 100644 --- a/appstore/notification.go +++ b/appstore/notification.go @@ -57,11 +57,8 @@ type NotificationReceipt struct { } type NotificationUnifiedReceipt struct { - Status string `json:"status"` - - // For production we will get "Production" instead of "PROD" - Environment NotificationEnvironment `json:"environment"` - + Status string `json:"status"` + Environment Environment `json:"environment"` LatestReceipt string `json:"latest_receipt"` LatestReceiptInfo []InApp `json:"latest_receipt_info"` PendingRenewalInfo []PendingRenewalInfo `json:"pending_renewal_info,omitempty"`