This commit is contained in:
ThatOneCalculator 2023-07-24 17:28:47 -07:00
parent 005f138e3f
commit 548de39e3c
No known key found for this signature in database
GPG Key ID: 8703CACD01000000

View File

@ -106,7 +106,7 @@ export default define(meta, paramDef, async (ps, user) => {
generateMutedUserQuery(query, user);
generateBlockedUserQuery(query, user);
const notes = await query.take(ps.limit).getMany();
const notes = await query.take(limit).getMany();
if (notes.length > 0) {
readNote(user.id, notes);