File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,9 +87,11 @@ export const ProfileMenu = ({
8787 purchase . subscriptionId ? (
8888 < DropdownMenuItem
8989 key = { purchase . subscriptionId }
90- onSelect = { ( ) =>
91- navigate ( userPlanSubscriptionPath ( purchase . subscriptionId ) )
92- }
90+ onSelect = { ( ) => {
91+ window . location . href = userPlanSubscriptionPath (
92+ purchase . subscriptionId
93+ ) ;
94+ } }
9395 >
9496 { purchase . planName }
9597 </ DropdownMenuItem >
Original file line number Diff line number Diff line change @@ -54,9 +54,6 @@ const env = {
5454 N8N_WEBHOOK_URL : process . env . N8N_WEBHOOK_URL ,
5555 N8N_WEBHOOK_TOKEN : process . env . N8N_WEBHOOK_TOKEN ,
5656
57- PAYMENT_WORKER_URL : process . env . PAYMENT_WORKER_URL ,
58- PAYMENT_WORKER_TOKEN : process . env . PAYMENT_WORKER_TOKEN ,
59-
6057 PUBLISHER_HOST : process . env . PUBLISHER_HOST || "wstd.work" ,
6158
6259 STAGING_USERNAME : process . env . STAGING_USERNAME ?? "admin" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ export const userPlanSubscriptionPath = (subscriptionId?: string) => {
117117 }
118118
119119 if ( isFeatureEnabled ( "paymentWorker" ) ) {
120- return `/payments/billing-portal/sessions?${ urlSearchParams . toString ( ) } ` ;
120+ return `/builder- payments/billing-portal/sessions?${ urlSearchParams . toString ( ) } ` ;
121121 }
122122
123123 return `/n8n/billing_portal/sessions?${ urlSearchParams . toString ( ) } ` ;
You can’t perform that action at this time.
0 commit comments