mirror of
https://github.com/statbate/special-pancake.git
synced 2026-08-11 03:12:42 +00:00
Update worker.go
This commit is contained in:
parent
6c4f0b0cd3
commit
18edef423a
1 changed files with 2 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ func statRoom(room, room_uid, authToken string) {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
//m := string(message)
|
fmt.Println(string(message))
|
||||||
|
|
||||||
input := struct {
|
input := struct {
|
||||||
Action int `json:"action"`
|
Action int `json:"action"`
|
||||||
|
|
@ -107,7 +107,7 @@ func statRoom(room, room_uid, authToken string) {
|
||||||
}{}
|
}{}
|
||||||
|
|
||||||
for _, tip := range tips {
|
for _, tip := range tips {
|
||||||
if err := json.Unmarshal([]byte(tip.Data), donate); err != nil {
|
if err := json.Unmarshal([]byte(tip.Data), &donate); err != nil {
|
||||||
fmt.Println(err.Error())
|
fmt.Println(err.Error())
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue