This commit is contained in:
shoopea 2019-05-16 11:22:20 +08:00
parent acfea25834
commit 0764f6b3c8

2
job.go
View File

@ -20,7 +20,7 @@ func jobRescan(j Job) {
if len(ids) > 1 { if len(ids) > 1 {
for _, id := range ids { for _, id := range ids {
p := JobPayloadRescanMsg{ p := JobPayloadRescanMsg{
Query: fmt.Sprintf("SELECT %id id FROM DUAL;", id), Query: fmt.Sprintf("SELECT %d id FROM DUAL;", id),
MsgID64: 0, MsgID64: 0,
ChatID64: 0, ChatID64: 0,
} }