mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-13 23:47:44 +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 := ""
|
||||
|
||||
for _, info := range iapr.PendingRenewalInfo {
|
||||
if info.SubscriptionExpirationIntent != "" || info.SubscriptionAutoRenewStatus == "0" {
|
||||
if info.SubscriptionExpirationIntent != "" {
|
||||
timedStatus = ""
|
||||
} else if info.SubscriptionAutoRenewProductID == "com.christianselig.apollo.sub.monthly" {
|
||||
timedStatus = SubscriptionMonthly
|
||||
|
|
Loading…
Reference in a new issue