diff --git a/router/line/line.go b/router/line/line.go index 463ec57..3507843 100644 --- a/router/line/line.go +++ b/router/line/line.go @@ -5,6 +5,7 @@ import ( "crypto/sha256" "encoding/base64" "encoding/json" + "fmt" "io/ioutil" "git.trj.tw/golang/mtfosbot/module/config" @@ -71,6 +72,8 @@ func GetLineMessage(c *context.Context) { c.DataFormat("body type error") } + fmt.Println("Line Hook ::: ", string(raw)) + events := struct { Events []*lineobj.EventObject `json:"events"` }{}