fix bug due to not calling next
This commit is contained in:
parent
c4d4154175
commit
ac395b3fbe
@ -26,6 +26,7 @@ func processTask(task *Task, s *discordgo.Session) {
|
||||
}
|
||||
var completed bool
|
||||
var processing bool
|
||||
res.Next()
|
||||
err = res.Scan(&completed, &processing)
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user