fix: align health endpoint with backend
This commit is contained in:
@@ -93,7 +93,7 @@ func (c *Client) Delete(path string) ([]byte, error) {
|
|||||||
|
|
||||||
// Health checks the API health endpoint and returns the response.
|
// Health checks the API health endpoint and returns the response.
|
||||||
func (c *Client) Health() (map[string]interface{}, error) {
|
func (c *Client) Health() (map[string]interface{}, error) {
|
||||||
data, err := c.Get("/api/health/")
|
data, err := c.Get("/health")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user