fix bug due to not calling next

This commit is contained in:
Dustin Pianalto 2020-07-31 02:49:25 -08:00
parent c4d4154175
commit ac395b3fbe

View File

@ -26,6 +26,7 @@ func processTask(task *Task, s *discordgo.Session) {
} }
var completed bool var completed bool
var processing bool var processing bool
res.Next()
err = res.Scan(&completed, &processing) err = res.Scan(&completed, &processing)
if err != nil { if err != nil {
log.Println(err) log.Println(err)