From 2abfa3f5c3ee8645274e931b307585f08830e86a Mon Sep 17 00:00:00 2001 From: an Date: Sun, 22 Apr 2018 11:45:53 +0200 Subject: [PATCH] fixed wrong Printf --- modules/webhook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/webhook.go b/modules/webhook.go index 1212ae9..e79080b 100644 --- a/modules/webhook.go +++ b/modules/webhook.go @@ -38,7 +38,7 @@ func webhookHandleHTTP(w http.ResponseWriter, r *http.Request) { for k, v := range data { fmt.Printf("%s : %v\n", k, v) if k == "text" { - SayCh <- fmt.Printf("%s\n%v", *webhookChan, v) + SayCh <- fmt.Sprintf("%s\n%v", *webhookChan, v) } } }