Skip to content

Commit

Permalink
Merge pull request #660 from appwrite/fix-redirects-billing
Browse files Browse the repository at this point in the history
Fix: redirect in billing
  • Loading branch information
eldadfux authored Dec 19, 2023
2 parents 61bcc59 + 0e0e27d commit f13bfa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/console/(billing-modal)/postReleaseModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
async function handleUpgrade() {
if (selectedOrg) {
await goto(`${base}/console/organization/${selectedOrg}/billing`);
await goto(`${base}/console/organization-${selectedOrg}/billing`);
} else {
const freeOrg = orgs.teams.find((o) => o.billingPlan === 'tier-0');
await goto(`${base}/console/organization/${freeOrg.$id}/billing`);
await goto(`${base}/console/organization-${freeOrg.$id}/billing`);
}
show = false;
wizard.start(ChangeOrganizationTierCloud);
Expand Down

0 comments on commit f13bfa5

Please sign in to comment.