diff --git a/main.go b/main.go index 28c6f52..bedbde1 100644 --- a/main.go +++ b/main.go @@ -4,7 +4,7 @@ import ( "bytes" _ "embed" "fmt" - "log/slog" + "log" "net/http" "os" "text/template" @@ -115,7 +115,7 @@ func main() { githubactions.Fatalf("error %s", err.Error()) } - slog.Info("retrieved data", "data", string(jsonStr)) + log.Printf("retrieved data: %s", string(jsonStr)) req, err := http.NewRequest("POST", webhook, bytes.NewBuffer(jsonStr)) if err != nil {