From 80f2f13aeee78f926da6aea1e0e15d00c9a10c33 Mon Sep 17 00:00:00 2001 From: an Date: Sun, 22 Apr 2018 11:31:15 +0200 Subject: [PATCH] fixed unknown variable --- modules/webhook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/webhook.go b/modules/webhook.go index 25594a7..bc7451b 100644 --- a/modules/webhook.go +++ b/modules/webhook.go @@ -30,7 +30,7 @@ func webhookHandleHTTP(w http.ResponseWriter, r *http.Request) { return } fmt.Println("got webhook payload: ") - for k, v := range webhookData { + for k, v := range data { fmt.Printf("%s : %v\n", k, v) } }