This commit is contained in:
parent
7bcca643bb
commit
f4d7d7c241
1 changed files with 2 additions and 2 deletions
4
main.go
4
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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue