Skip to content

Commit

Permalink
Bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashish Bhat committed Jul 16, 2019
1 parent b26ac9a commit 7689521
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/APIClient.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (apiClient *APIClient) doRequest(url string, requestMethod string, rawToken
body = bytes.NewBuffer(bytePayload)
}

request, err := http.NewRequest(requestMethod, apiClient.baseURL+url, body)
request, err := http.NewRequest(requestMethod, apiClient.BaseURL+url, body)
if err != nil {
return nil, err
}
Expand All @@ -49,7 +49,7 @@ func (apiClient *APIClient) doRequest(url string, requestMethod string, rawToken
return nil, err
}

response, err := apiClient.httpClient.Do(request)
response, err := apiClient.HTTPClient.Do(request)
if err != nil {
microLog.Formatted().Error(err)
return nil, err
Expand Down

0 comments on commit 7689521

Please sign in to comment.