fix(cloud): enable upgrading new and existing workspaces onto team/pro (#470)

* feat(cloud): enable upgrading new and existing workspaces onto team/pro

* refactor: clean up

* fix: toggle spacing
This commit is contained in:
Henry
2026-04-17 22:22:14 +01:00
committed by GitHub
parent 201fe05493
commit e36eb64c59
10 changed files with 128 additions and 149 deletions

View File

@@ -24,6 +24,8 @@ export function UpgradeToProConfirmation({
body: JSON.stringify({
...(entityId && { slug: entityId }),
workspacePublicId: workspacePublicId,
plan: "pro",
billing: "monthly",
cancelUrl: "/settings",
successUrl: "/settings",
}),