mirror of
https://github.com/idanoo/go-mastodon-stats
synced 2025-07-01 22:02:20 +00:00
Update
This commit is contained in:
parent
533cde2eaf
commit
9b3b22b743
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ func getLastWeekMetric(serviceName string) int {
|
|||
val, err := runIntQuery(
|
||||
POSTGRESQL_STATS_DB,
|
||||
fmt.Sprintf(
|
||||
"SELECT metric_value FROM %s WHERE metric_name = '%s' AND service = '%s' AND metric_time = '%d' DESC LIMIT 1",
|
||||
"SELECT metric_value FROM %s WHERE metric_name = '%s' AND service = '%s' AND metric_time = '%d' LIMIT 1",
|
||||
POSTGRESQL_STATS_TABLE,
|
||||
METRICNAME_USERCOUNT,
|
||||
serviceName,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue