diff --git a/main.go b/main.go index ec7dd5d..17d13b6 100644 --- a/main.go +++ b/main.go @@ -152,20 +152,20 @@ func main() { } }() - githubactions.Infof("Calling node API...") + githubactions.Debugf("Calling node API...") client := &http.Client{} res, err := client.Do(req) if err != nil { githubactions.Fatalf(err.Error()) } - githubactions.Infof("Reading response...") + githubactions.Debugf("Reading response...") resBody, err := io.ReadAll(res.Body) if err != nil { githubactions.Fatalf(err.Error()) } - githubactions.Infof("Response: %v", string(resBody)) + githubactions.Debugf("Response: %v", string(resBody)) d := json.NewDecoder(res.Body) for { var ipfsAddResponse []AddResponse @@ -174,6 +174,6 @@ func main() { } else if err != nil { githubactions.Warningf("Failed to unmarshal response: %v", fmt.Errorf("%w", err)) } - githubactions.Infof("Received response: %v", ipfsAddResponse) + githubactions.Debugf("Unmarshaled response: %v", ipfsAddResponse) } }