fix passing ts to db
This commit is contained in:
@@ -71,6 +71,7 @@ func (db yamlDB) PushAnswer(user, q, a string, pass bool) error {
|
||||
db.Users[user].History[q] = append(db.Users[user].History[q], History{
|
||||
A: uuid,
|
||||
Pass: pass,
|
||||
TS: db.Knowledge.Answers[uuid].TS,
|
||||
})
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user