test
This commit is contained in:
parent
5dbe827afb
commit
da6c2cb1f2
2
bot.go
2
bot.go
@ -80,7 +80,6 @@ func botMsgRescan(m *tb.Message) (string, error) {
|
||||
Query: fmt.Sprintf(q, "SELECT o.id from obj o where o.id = %s and o.obj_type_id = %d and o.obj_sub_type_id = %d;", m.Payload, objTypeMessage, objSubTypeMessageUnknown),
|
||||
}
|
||||
b, _ := json.Marshal(p)
|
||||
log.Printf("botMsgRescan : query : %s\n", q)
|
||||
log.Printf("botMsgRescan : json : %s\n", string(b))
|
||||
err := createJob(objSubTypeJobRescanMsg, objJobPriorityRescanMsg, time.Now(), b)
|
||||
logOnError(err, "botMsgRescan : createJob(objSubTypeJobRescanMsg)")
|
||||
@ -97,7 +96,6 @@ func botMsgRescan(m *tb.Message) (string, error) {
|
||||
Query: fmt.Sprintf("SELECT o.id from obj o where o.obj_type_id = %d and o.obj_sub_type_id = %d;", objTypeMessage, objSubTypeMessageUnknown),
|
||||
}
|
||||
b, _ := json.Marshal(p)
|
||||
log.Printf("botMsgRescan : query : %s\n", q)
|
||||
log.Printf("botMsgRescan : json : %s\n", string(b))
|
||||
err := createJob(objSubTypeJobRescanMsg, objJobPriorityRescanAllMsg, time.Now(), b)
|
||||
logOnError(err, "botMsgRescan : createJob(objSubTypeJobRescanMsg)")
|
||||
|
Loading…
Reference in New Issue
Block a user