Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: prevent current usage fetch for pending subscriptions #1856

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

ansmonjol
Copy link
Collaborator

Context

If a subscription is pending, the current usage endpoint throw an error if fetched.

Description

This PR make sure the endpoint is not fetched in such situation and adapts the empty state copy.

Also adapt the copy for lifetime usage that kinda have the same problem (without the error) but it still have to fetch the data before, as it's used in 2 placed and have an internal fetch logic.

Fixes ISSUE-536

@ansmonjol ansmonjol added the 🐞 bug Something isn't working label Nov 12, 2024
@ansmonjol ansmonjol self-assigned this Nov 12, 2024
@ansmonjol ansmonjol merged commit f1ef0fc into main Nov 12, 2024
10 checks passed
@ansmonjol ansmonjol deleted the current-usage-error branch November 12, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants