Merge pull request #23 from LeeXN/19-garage-2.0-status

fix: update API endpoint for cluster status query
This commit is contained in:
Khairul Hidayat 2025-09-01 15:58:33 +08:00 committed by GitHub
commit 90a1018235
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,7 +14,7 @@ import {
export const useClusterStatus = () => {
return useQuery({
queryKey: ["status"],
queryFn: () => api.get<GetStatusResult>("/v1/status"),
queryFn: () => api.get<GetStatusResult>("/v2/GetClusterStatus"),
});
};