fix(backend): fix lint
This commit is contained in:
parent
36ae25e4bc
commit
32f4b639c9
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue