fix(backend): fix lint

This commit is contained in:
Sayamame-beans 2024-11-18 23:35:23 +09:00
parent 36ae25e4bc
commit 32f4b639c9
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ export function isUserRelated(note: any, userIds: Set<string>, ignoreAuthor = fa
return true; return true;
} }
if (note.mentions != null && note.mentions.filter(userId => userId !== note.userId && userIds.has(userId)).length > 0) { if (note.mentions != null && note.mentions.filter((userId: string) => userId !== note.userId && userIds.has(userId)).length > 0) {
return true; return true;
} }