Skip to content

Commit

Permalink
πŸ”„ Sync from monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
mojo-machine[bot] committed May 8, 2024
1 parent ee45524 commit 31e28a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/revenuecat/revenuecat.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (s *Subscriber) ActiveSubscriptionCount() int {
now := time.Now()

for _, e := range s.Entitlements {
if e.ExpiresDate.Before(now) {
if e.ExpiresDate != nil && e.ExpiresDate.Before(now) {
continue
}

Expand Down

0 comments on commit 31e28a1

Please sign in to comment.