From ea73d5433bd813372de927c168bf4557afbfc1e0 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Mon, 17 Mar 2025 05:13:41 +0000 Subject: [PATCH] fix invalidate --- .../organization-[organization]/billing/budgetCap.svelte | 2 +- .../organization-[organization]/budgetLimitAlert.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/(console)/organization-[organization]/billing/budgetCap.svelte b/src/routes/(console)/organization-[organization]/billing/budgetCap.svelte index df6a7e84a..3f3a5517f 100644 --- a/src/routes/(console)/organization-[organization]/billing/budgetCap.svelte +++ b/src/routes/(console)/organization-[organization]/billing/budgetCap.svelte @@ -26,7 +26,7 @@ budget, $organization.budgetAlerts ); - invalidate(Dependencies.ORGANIZATION); + await invalidate(Dependencies.ORGANIZATION); addNotification({ type: 'success', isHtml: true, diff --git a/src/routes/(console)/organization-[organization]/budgetLimitAlert.svelte b/src/routes/(console)/organization-[organization]/budgetLimitAlert.svelte index 2ca0970db..e043d2e2a 100644 --- a/src/routes/(console)/organization-[organization]/budgetLimitAlert.svelte +++ b/src/routes/(console)/organization-[organization]/budgetLimitAlert.svelte @@ -9,7 +9,7 @@ {#if $organization?.$id && $organization?.billingPlan !== BillingPlan.FREE && $readOnly && !hideBillingHeaderRoutes.includes($page.url.pathname)} - + This organization has reached its budget limit and is now blocked. To continue using Appwrite services, update the budget limit.