fix: typo

This commit is contained in:
Julian Lam
2020-09-11 14:41:10 -04:00
parent 7e7366be13
commit 0891236142

View File

@@ -48,7 +48,7 @@ async function getNotes(userData, start, stop) {
}
const [notes, count] = await Promise.all([
user.getModerationNotes(userData.uid, start, stop),
db.sortedSetCard('uid:' + userData.uid + ':moderati;on:notes'),
db.sortedSetCard('uid:' + userData.uid + ':moderation:notes'),
]);
return { notes: notes, count: count };
}