mirror of
				https://github.com/khairul169/garage-webui.git
				synced 2025-10-31 23:29:31 +07:00 
			
		
		
		
	Merge pull request #23 from LeeXN/19-garage-2.0-status
fix: update API endpoint for cluster status query
This commit is contained in:
		
						commit
						90a1018235
					
				| @ -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
	 GitHub
							GitHub