diff --git a/src/core/router/SettingRoutes.tsx b/src/core/router/SettingRoutes.tsx index 84ac6638e..62b8c0d11 100644 --- a/src/core/router/SettingRoutes.tsx +++ b/src/core/router/SettingRoutes.tsx @@ -64,8 +64,8 @@ export const SETTINGS_ROUTE = '/settings' export const INVOICE_SETTINGS_ROUTE = `${SETTINGS_ROUTE}/invoice` export const TAXES_SETTINGS_ROUTE = `${SETTINGS_ROUTE}/taxes` export const ORGANIZATION_INFORMATIONS_ROUTE = `${SETTINGS_ROUTE}/organization-informations` -export const DO_NOT_USE_INTEGRATIONS_ROUTE = `${SETTINGS_ROUTE}/integrations/` -export const INTEGRATIONS_ROUTE = `${SETTINGS_ROUTE}/integrations/:integrationGroup` +export const ROOT_INTEGRATIONS_ROUTE = `${SETTINGS_ROUTE}/integrations` +export const INTEGRATIONS_ROUTE = `${ROOT_INTEGRATIONS_ROUTE}/:integrationGroup` export const AUTHENTICATION_ROUTE = `${SETTINGS_ROUTE}/authentication` export const OKTA_AUTHENTICATION_ROUTE = `${AUTHENTICATION_ROUTE}/okta/:integrationId` export const ANROK_INTEGRATION_ROUTE = `${INTEGRATIONS_ROUTE}/anrok` @@ -83,7 +83,7 @@ export const STRIPE_INTEGRATION_DETAILS_ROUTE = `${INTEGRATIONS_ROUTE}/stripe/:i export const CASHFREE_INTEGRATION_ROUTE = `${INTEGRATIONS_ROUTE}/cashfree` export const CASHFREE_INTEGRATION_DETAILS_ROUTE = `${INTEGRATIONS_ROUTE}/cashfree/:integrationId` export const GOCARDLESS_INTEGRATION_ROUTE = `${INTEGRATIONS_ROUTE}/gocardless` -export const GOCARDLESS_INTEGRATION_OAUTH_CALLBACK_ROUTE = `${DO_NOT_USE_INTEGRATIONS_ROUTE}/gocardless/callback` +export const GOCARDLESS_INTEGRATION_OAUTH_CALLBACK_ROUTE = `${ROOT_INTEGRATIONS_ROUTE}/gocardless/callback` export const GOCARDLESS_INTEGRATION_DETAILS_ROUTE = `${INTEGRATIONS_ROUTE}/gocardless/:integrationId` export const TAX_MANAGEMENT_INTEGRATION_ROUTE = `${INTEGRATIONS_ROUTE}/lago-tax-management` export const MEMBERS_ROUTE = `${SETTINGS_ROUTE}/members`