diff --git a/src/routes/console/changeOrganizationTierCloud.svelte b/src/routes/console/changeOrganizationTierCloud.svelte
index 1e630243c..e0429dbe2 100644
--- a/src/routes/console/changeOrganizationTierCloud.svelte
+++ b/src/routes/console/changeOrganizationTierCloud.svelte
@@ -26,6 +26,7 @@
async function upgrade() {
try {
+ const isUpgrade = $changeOrganizationTier.billingPlan > $organization.billingPlan;
const org = await sdk.forConsole.billing.updatePlan(
$organization.$id,
$changeOrganizationTier.billingPlan,
@@ -60,8 +61,12 @@
type: 'success',
isHtml: true,
message: `
- Your organization has been upgraded
- Make the most of your increased resource capacity and continue building great things with Appwrite.`
+ Your organization has been ${isUpgrade ? 'upgraded' : 'downgraded'}
+ ${
+ isUpgrade
+ ? 'Make the most of your increased resource capacity and continue building great things with Appwrite.'
+ : ''
+ }`
});
trackEvent(Submit.OrganizationCreate, {
customId: !!$changeOrganizationTier.id