Remove first body read
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 55s

This commit is contained in:
Alexandre Bruyant 2024-01-08 13:15:05 +01:00
parent 3ffdd2e547
commit 11f23aab6c

View File

@ -115,13 +115,6 @@ func main() {
githubactions.Fatalf(err.Error()) githubactions.Fatalf(err.Error())
} }
githubactions.Debugf("Reading response...")
resBody, err := io.ReadAll(res.Body)
if err != nil {
githubactions.Fatalf(err.Error())
}
githubactions.Infof("Response: %v", string(resBody))
d := json.NewDecoder(res.Body) d := json.NewDecoder(res.Body)
addResponses := make([]*AddResponse, 0) addResponses := make([]*AddResponse, 0)
for { for {