From 5272fbc13e2e2b9d280be6e6d0df770fa19da47f Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Tue, 20 Feb 2024 20:17:53 +0100 Subject: [PATCH] [backend/federation] Fix typo in calculation of nodeinfo active users --- Iceshrimp.Backend/Controllers/NodeInfoController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Iceshrimp.Backend/Controllers/NodeInfoController.cs b/Iceshrimp.Backend/Controllers/NodeInfoController.cs index 7dc560fd..25f87526 100644 --- a/Iceshrimp.Backend/Controllers/NodeInfoController.cs +++ b/Iceshrimp.Backend/Controllers/NodeInfoController.cs @@ -29,7 +29,7 @@ public class NodeInfoController(IOptions config, Databas var activeMonth = await db.Users.LongCountAsync(p => p.Host == null && !Constants.SystemUsers.Contains(p.UsernameLower) && - p.LastActiveDate > cutoffHalfYear); + p.LastActiveDate > cutoffMonth); var activeHalfYear = await db.Users.LongCountAsync(p => p.Host == null && !Constants.SystemUsers.Contains(p.UsernameLower) &&