diff --git a/packages/webapp-libs/webapp-core/src/utils/path.ts b/packages/webapp-libs/webapp-core/src/utils/path.ts index aeffdf1d9..bfa48c839 100644 --- a/packages/webapp-libs/webapp-core/src/utils/path.ts +++ b/packages/webapp-libs/webapp-core/src/utils/path.ts @@ -9,7 +9,7 @@ const assignLocalePathFn = if (typeof paths[route] !== 'string') { throw Error('Invalid route'); } - return getLocalePath(paths[route] as string); + return fn(paths[route] as string); }; const getTenantPathHelper = (p: string) => getLocalePath(getTenantPath(p));