fix cronSendWarReport

This commit is contained in:
shoopea 2019-12-12 18:25:06 +08:00
parent b0d128af4c
commit d03b5cb78b

View File

@ -26,7 +26,7 @@ func cronSendWarReport() {
p := JobPayloadFwdMsg{
ChatID64: cfg.Bot.Reportchat,
}
b, _ = json.Marshal(&p)
b, _ := json.Marshal(&p)
err := createJobCallback(objSubTypeJobFwdMsg, c.TGUserID64, objSubTypeMessageReportAck, b, 1*time.Minute)
logOnError(err, "cronSendWarReport : createJobCallback")
clientSendCWMsg(c.TGUserID64, `/report`)