forked from plausible/analytics
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check usage for users with active/cancelled/past due subscriptions (p…
…lausible#4607) * Check usage for users with active/cancelled/past due subscriptions So that over limit e-mails and grace period is handled regardless - they're still subscribers. * Ensure current subscription is fetched, for an ongoing plan * Add extra test * Revert "Ensure current subscription is fetched, for an ongoing plan" This reverts commit 9ddc7bd. * Fixup test * Reapply "Ensure current subscription is fetched, for an ongoing plan" This reverts commit 7ab5379. * Do a subscription preload and assert ID match * Use inner lateral join to fetch subscriptions
- Loading branch information
Showing
3 changed files
with
403 additions
and
270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.