Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+8
-1
@@ -1,3 +1,5 @@
|
||||
import { appPath } from "~/utils/app/CanonicalUrlUtils";
|
||||
|
||||
export function subscriptionCheckoutPath(tenantSlug: string, path?: string) {
|
||||
const tenantSegment = tenantSlug.trim();
|
||||
if (!tenantSegment) {
|
||||
@@ -19,5 +21,10 @@ export function subscriptionCheckoutPath(tenantSlug: string, path?: string) {
|
||||
}
|
||||
|
||||
export function subscriptionRequiredCheckoutPath(tenantSlug: string) {
|
||||
return subscriptionCheckoutPath(tenantSlug, "?error=subscription_required");
|
||||
const tenantSegment = tenantSlug.trim();
|
||||
if (!tenantSegment) {
|
||||
throw new Error("tenantSlug is required");
|
||||
}
|
||||
|
||||
return appPath({ tenantSlug: tenantSegment, path: "settings/subscription?subscription_required=1", mode: "host-aware" });
|
||||
}
|
||||
Reference in new issue
Block a user