Fix the ancient bug where client wasn't able to use non-https endpoints.

This commit is contained in:
2023-02-26 11:38:20 +00:00
parent 9e8df7e297
commit 42e1afbf77
2 changed files with 24 additions and 19 deletions
+1
View File
@@ -83,6 +83,7 @@ func (g *GraphQL) Query(queryContent string, queryVariables interface{}, queryHe
err = retry.Do(
func() error {
g.Log.Debug("Sending the query")
httpResponse, err = g.HttpClient.Do(httpRequest)
if err != nil {