clear
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
ddca8c456f
commit
edfdf4affb
|
@ -2,7 +2,6 @@ package db
|
|||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"log"
|
||||
"time"
|
||||
|
||||
|
@ -185,7 +184,6 @@ func (db *DB) GetStatBetween(chatID int64, startTime time.Time, endTime time.Tim
|
|||
if err := cursor.Decode(&result); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
fmt.Println(result)
|
||||
res[result.Name] += float64(result.Count)
|
||||
}
|
||||
if err := cursor.Err(); err != nil {
|
||||
|
|
Loading…
Reference in New Issue