mirror of
https://github.com/christianselig/apollo-backend
synced 2024-12-22 22:35:27 +00:00
Merge pull request #78 from christianselig/bugs/autorenew_off
Fix issue with not allow non-autorenewing subs
This commit is contained in:
commit
b763e6f875
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