typo
This commit is contained in:
parent
496b26dd5c
commit
76a1911d63
2
sql.go
2
sql.go
@ -201,7 +201,7 @@ func getMsg(objId int64) (ChatWarsMessage, error) {
|
||||
}
|
||||
defer stmt.Close()
|
||||
|
||||
err = stmtOut.QueryRow(objId).Scan(&m.ID64, &m.ChatID64, &m.SenderUserID64, &m.Date, &m.Text)
|
||||
err = stmt.QueryRow(objId).Scan(&m.ID64, &m.ChatID64, &m.SenderUserID64, &m.Date, &m.Text)
|
||||
if err != nil {
|
||||
return m, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user