Skip to content

Node.js based forum software built for the modern web

fix: wrong set name

Julian Lamfa0b72e2a2e6
diff --git a/src/controllers/admin/federation.js b/src/controllers/admin/federation.js
index 661d029949..47bd8e9e3a 100644
--- a/src/controllers/admin/federation.js
+++ b/src/controllers/admin/federation.js
@@ -67,7 +67,7 @@ federationController.analytics = async function (req, res) {
count = 30;
}
const set = host ? `activities:byHost:${host}` : 'activities';
- const sentSet = host ? `ap.out:byHost:${host}` : 'ap:out';
+ const sentSet = host ? `ap.out:byHost:${host}` : 'ap.out';
const received = await analytics[method](set, Date.now(), count);
const sent = await analytics[method](sentSet, Date.now(), count);