diff --git a/main.go b/main.go index 4e10a34..e9a594b 100644 --- a/main.go +++ b/main.go @@ -4,9 +4,9 @@ import ( "bytes" "flag" "fmt" + "io/ioutil" "log" "net/http" - "os" "time" "github.com/turnage/graw/reddit" @@ -30,7 +30,7 @@ func main() { log.Fatal(err) } - whSlc, err := os.ReadFile(*webhookFile) + whSlc, err := ioutil.ReadFile(*webhookFile) if err != nil { log.Fatal(err) }