mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-14 16:07:42 +00:00
Fix issue with not allow non-autorenewing subs
This commit is contained in:
parent
571c6d60eb
commit
ea9af069e8
1 changed files with 1 additions and 1 deletions
|
@ -533,7 +533,7 @@ func (iapr *IAPResponse) currentlyActiveTimedSubscription() string {
|
||||||
timedStatus := ""
|
timedStatus := ""
|
||||||
|
|
||||||
for _, info := range iapr.PendingRenewalInfo {
|
for _, info := range iapr.PendingRenewalInfo {
|
||||||
if info.SubscriptionExpirationIntent != "" || info.SubscriptionAutoRenewStatus == "0" {
|
if info.SubscriptionExpirationIntent != "" {
|
||||||
timedStatus = ""
|
timedStatus = ""
|
||||||
} else if info.SubscriptionAutoRenewProductID == "com.christianselig.apollo.sub.monthly" {
|
} else if info.SubscriptionAutoRenewProductID == "com.christianselig.apollo.sub.monthly" {
|
||||||
timedStatus = SubscriptionMonthly
|
timedStatus = SubscriptionMonthly
|
||||||
|
|
Loading…
Reference in a new issue