From 32f4b639c904607394f87185decd3ddfabc8e5c8 Mon Sep 17 00:00:00 2001 From: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Date: Mon, 18 Nov 2024 23:35:23 +0900 Subject: [PATCH] fix(backend): fix lint --- packages/backend/src/misc/is-user-related.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/misc/is-user-related.ts b/packages/backend/src/misc/is-user-related.ts index c8ae441598..87faedd1ca 100644 --- a/packages/backend/src/misc/is-user-related.ts +++ b/packages/backend/src/misc/is-user-related.ts @@ -12,7 +12,7 @@ export function isUserRelated(note: any, userIds: Set, ignoreAuthor = fa 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; }