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

Retrieve plan info by detail call #1550

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

ernstmul
Copy link
Contributor

@ernstmul ernstmul commented Dec 9, 2024

What does this PR do?

Get plan info by using detail call on bucket upload limit settings

Have you read the Contributing Guidelines on issues?

@ernstmul ernstmul requested a review from stnguyen90 December 9, 2024 09:23

export const load: PageLoad = async ({ parent }) => {
const { organization } = await parent();
const currentPlan = await sdk.forConsole.billing.getPlan(organization.$id);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're probably going to be using the plan from getPlan() more and more across the console to replace how we've been working with plans before so it might be good to have this as a store. Maybe you can create an issue so we can revisit this later?

@stnguyen90 stnguyen90 merged commit 5662f36 into main Dec 9, 2024
2 checks passed
@stnguyen90 stnguyen90 deleted the fix-bucket-upload-size-limit-for-education-plan branch December 9, 2024 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants