fix(stats): fix table name in get_message_count

This commit is contained in:
spiral 2022-12-17 01:23:12 +00:00
parent 6c7abeb3de
commit d04f3cf1ad
No known key found for this signature in database
GPG Key ID: 244A11E4B0BCF40E

View File

@ -39,7 +39,7 @@ func run_redis_query() []rstatval {
func get_message_count() int {
var count int
row := messages_db.QueryRow(context.Background(), "select count(*) as count from systems")
row := messages_db.QueryRow(context.Background(), "select count(*) as count from messages")
if err := row.Scan(&count); err != nil {
panic(err)
}