stats: CopyPaste error, a classic
This commit is contained in:
parent
e036d969ca
commit
193f755c57
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,7 @@ func updateStats(message tg.APIMessage) {
|
|||
}
|
||||
|
||||
b = tx.Bucket([]byte("weekday"))
|
||||
err = b.Put([]byte{byte(wday)}, PutUint(stats.ByHour[wday]))
|
||||
err = b.Put([]byte{byte(wday)}, PutUint(stats.ByWeekday[wday]))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Reference in a new issue