From e6150def364d91f0e5396eaa5b70c37926237c3c Mon Sep 17 00:00:00 2001 From: andreas-unleash Date: Fri, 22 Mar 2024 09:04:15 +0200 Subject: [PATCH] chore: call new insights endpoint (#6664) What is says on the tin Closes #[1-2217](https://linear.app/unleash/issue/1-2217/point-fe-to-new-endpoint) Signed-off-by: andreas-unleash --- frontend/src/hooks/api/getters/useInsights/useInsights.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/hooks/api/getters/useInsights/useInsights.ts b/frontend/src/hooks/api/getters/useInsights/useInsights.ts index d447ec8912..7c3fd913d7 100644 --- a/frontend/src/hooks/api/getters/useInsights/useInsights.ts +++ b/frontend/src/hooks/api/getters/useInsights/useInsights.ts @@ -14,7 +14,7 @@ interface IUseInsightsDataOutput { export const useInsights = ( options?: SWRConfiguration, ): IUseInsightsDataOutput => { - const path = formatApiPath('api/admin/dashboard/executive'); + const path = formatApiPath('api/admin/insights'); const { data, error } = useSWR( path,