This commit is contained in:
Karmanyaah Malhotra committed 2021-05-08 15:53:38 -04:00
1 parent 8dd5993481
commit 28b2d85660
1 file changed
+2 -2
+2 -2
View File
@@ -136,12 +136,12 @@ func (r *PushSubscription) StartListening(context context.Context) {
if strings.HasPrefix(channel, groupChannel) || strings.HasPrefix(channel, dmChannel) {
c, ok := content.(map[string]interface{})
if !ok {
fmt.Println(content, "err")
fmt.Println(content, data, "err")
continue
}
e, ok := c["line"]
if !ok {
fmt.Println(content, "err")
fmt.Println(content, data, "err")
continue
}
d, _ := json.Marshal(e)