Fix two swapped function names

This commit is contained in:
vojkovic
2024-01-06 15:51:31 +08:00
parent 97c4165f55
commit 7cca1285aa
2 changed files with 4 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ module Invidious::Database::Statistics
PG_DB.query_one(request, as: Int64)
end
def count_users_active_1m : Int64
def count_users_active_6m : Int64
request = <<-SQL
SELECT count(*) FROM users
WHERE CURRENT_TIMESTAMP - updated < '6 months'
@@ -24,7 +24,7 @@ module Invidious::Database::Statistics
PG_DB.query_one(request, as: Int64)
end
def count_users_active_6m : Int64
def count_users_active_1m : Int64
request = <<-SQL
SELECT count(*) FROM users
WHERE CURRENT_TIMESTAMP - updated < '1 month'