Implémenter Response dans GetHealthResponse

This commit is contained in:
Victor Lacasse-Beaudoin 2023-09-05 16:30:15 -04:00
parent a13bb131f4
commit 0f56348746
3 changed files with 16 additions and 13 deletions

View file

@ -77,7 +77,7 @@ func (a *ApiClient) Call(method, route string, requestBody io.Reader, useKey boo
// GetHealth allows checking for API server health
func (a *ApiClient) GetHealth() (string, error) {
var getHealthResponse responses.GetHealth
var getHealthResponse responses.GetHealthResponse
response, err := a.Call(http.MethodGet, "/v5/health", nil, true)
if err != nil {