1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

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 <andreas@getunleash.ai>
This commit is contained in:
andreas-unleash 2024-03-22 09:04:15 +02:00 committed by GitHub
parent 38adb97c03
commit e6150def36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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<InstanceInsightsSchema>(
path,