fix: wrong set name

This commit is contained in:
Julian Lam
2026-04-01 14:41:36 -04:00
parent cd66230121
commit fa0b72e2a2

View File

@@ -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);