fixed wrong Printf
This commit is contained in:
parent
f0cbc1785f
commit
2abfa3f5c3
|
@ -38,7 +38,7 @@ func webhookHandleHTTP(w http.ResponseWriter, r *http.Request) {
|
||||||
for k, v := range data {
|
for k, v := range data {
|
||||||
fmt.Printf("%s : %v\n", k, v)
|
fmt.Printf("%s : %v\n", k, v)
|
||||||
if k == "text" {
|
if k == "text" {
|
||||||
SayCh <- fmt.Printf("%s\n%v", *webhookChan, v)
|
SayCh <- fmt.Sprintf("%s\n%v", *webhookChan, v)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue