webhook.go: silly mistake
This commit is contained in:
parent
69e068fbc3
commit
b17b8f8975
|
@ -49,7 +49,7 @@ func webhookHandleHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
http.Error(w, err.Error(), http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
SayCh <- fmt.Sprintf("*%s*: %s\n%v", data["username"], data["channel"], data["text"])
|
||||
SayCh <- fmt.Sprintf("%s\n[%s] %v", data["channel"], data["username"], data["text"])
|
||||
for k, v := range data {
|
||||
xlog.Debug("%s : %v\n", k, v)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue