Skip to content

Commit aa8535b

Browse files
committed
[ML] Fix unnecessary base path.
1 parent 4b44e35 commit aa8535b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

x-pack/legacy/plugins/transform/public/app/app_dependencies.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ export const getAppProviders = (deps: AppDependencies) => {
6464
const AppDependenciesProvider = setAppDependencies(deps);
6565

6666
return ({ children }: { children: ReactNode }) => (
67-
<AuthorizationProvider
68-
privilegesEndpoint={deps.core.http.basePath.prepend(`${API_BASE_PATH}privileges`)}
69-
>
67+
<AuthorizationProvider privilegesEndpoint={`${API_BASE_PATH}privileges`}>
7068
<I18nContext>
7169
<HashRouter>
7270
<AppDependenciesProvider value={deps}>{children}</AppDependenciesProvider>

0 commit comments

Comments
 (0)