mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix(stats): fix table name in get_message_count
This commit is contained in:
parent
6c7abeb3de
commit
d04f3cf1ad
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ func run_redis_query() []rstatval {
|
||||||
|
|
||||||
func get_message_count() int {
|
func get_message_count() int {
|
||||||
var 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 {
|
if err := row.Scan(&count); err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue