From 3eb387c7ddac576671407be48f9e317f99be08ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Marcondes?= <55978943+cauemarcondes@users.noreply.github.com> Date: Fri, 7 Jul 2023 10:36:46 -0300 Subject: [PATCH] [Profiling] fixing api endpoint (#161387) Using internal api `/internal/profiling/setup/es_resources` --- x-pack/plugins/profiling/public/plugin.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/profiling/public/plugin.tsx b/x-pack/plugins/profiling/public/plugin.tsx index e4d65483df461..c8f457931013d 100644 --- a/x-pack/plugins/profiling/public/plugin.tsx +++ b/x-pack/plugins/profiling/public/plugin.tsx @@ -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; };