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:
parent
38adb97c03
commit
e6150def36
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user