diff --git a/heliumapi/query.go b/heliumapi/query.go index 29506c3..fd26f92 100644 --- a/heliumapi/query.go +++ b/heliumapi/query.go @@ -4,7 +4,6 @@ import ( "encoding/json" "fmt" "io/ioutil" - "log" "net/http" ) @@ -48,7 +47,7 @@ func getHeliumApi(path string, params *map[string]string) ([]byte, error) { } // query the api - log.Printf("querying %v", req.URL.String()) + // log.Printf("querying %v", req.URL.String()) resp, err := client.Do(req) if err != nil { return nil, fmt.Errorf("failed to query %v: %v", req.URL.String(), err) @@ -98,7 +97,7 @@ func getHeliumApiWithCursor(path string, params *map[string]string) ([][]byte, e defer resp.Body.Close() // read the response body and add it to the result array - log.Printf("querying %v", req.URL.String()) + // log.Printf("querying %v", req.URL.String()) body, err := ioutil.ReadAll(resp.Body) if err != nil { return nil, fmt.Errorf("failed to read response body of %v: %v", req.URL.String(), err)