From 26e31cab356402bcfa2184fb66e47851958804c6 Mon Sep 17 00:00:00 2001 From: SputNikPlop <100245448+SputNikPlop@users.noreply.github.com> Date: Mon, 6 May 2024 12:06:10 -0700 Subject: [PATCH] fix: remove ioutil from docs --- docs/eventsub_docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/eventsub_docs.md b/docs/eventsub_docs.md index fa38853..4f119d1 100644 --- a/docs/eventsub_docs.md +++ b/docs/eventsub_docs.md @@ -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