Skip to content

Commit

Permalink
fix: remove ioutil from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
SputNikPlop authored May 6, 2024
1 parent e86910f commit 26e31ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/eventsub_docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ type eventSubNotification struct {
}

func eventsubFollow(w http.ResponseWriter, r *http.Request) {
body, err := ioutil.ReadAll(r.Body)
body, err := io.ReadAll(r.Body)
if err != nil {
log.Println(err)
return
Expand Down

0 comments on commit 26e31ca

Please sign in to comment.