Skip to content

Commit

Permalink
[Profiling] fixing api endpoint (#161387)
Browse files Browse the repository at this point in the history
Using internal api `/internal/profiling/setup/es_resources`
  • Loading branch information
cauemarcondes authored Jul 7, 2023
1 parent 3b67450 commit 3eb387c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/profiling/public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export class ProfilingPlugin implements Plugin {
),
},
hasSetup: async () => {
const response = (await coreSetup.http.get('/api/profiling/v1/setup/es_resources')) as {
const response = (await coreSetup.http.get('/internal/profiling/setup/es_resources')) as {
has_setup: boolean;
has_data: boolean;
};
Expand Down

0 comments on commit 3eb387c

Please sign in to comment.