From d04287d63bded9dbe02665e5af045db90a5cb922 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 11 May 2019 13:17:02 +0800 Subject: [PATCH] test --- bot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.go b/bot.go index 84fb60c..794da20 100644 --- a/bot.go +++ b/bot.go @@ -77,7 +77,7 @@ func botMsgRescan(m *tb.Message) (string, error) { r := regexp.MustCompile("^[0-9]+$") if r.MatchString(m.Payload) { p := JobPayloadRescanMsg{ - 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), + Query: fmt.Sprintf("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 : json : %s\n", string(b))