mirror of
https://github.com/khairul169/garage-webui.git
synced 2025-08-16 11:29:32 +07:00
Merge c7d3d224baf1d84172c9a6773adfe699f6803a30 into b2bc905e3cf8163cc8dc55f0c87941e2034a77b1
This commit is contained in:
commit
e5ef430364
@ -14,7 +14,7 @@ import {
|
|||||||
export const useClusterStatus = () => {
|
export const useClusterStatus = () => {
|
||||||
return useQuery({
|
return useQuery({
|
||||||
queryKey: ["status"],
|
queryKey: ["status"],
|
||||||
queryFn: () => api.get<GetStatusResult>("/v1/status"),
|
queryFn: () => api.get<GetStatusResult>("/v2/GetClusterStatus"),
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user