fix cronSendWarReport
This commit is contained in:
parent
b0d128af4c
commit
d03b5cb78b
2
cron.go
2
cron.go
@ -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`)
|
||||
|
Loading…
Reference in New Issue
Block a user