diff --git a/src/models/note.ts b/src/models/note.ts index bb600fc0cb..ce307d061a 100644 --- a/src/models/note.ts +++ b/src/models/note.ts @@ -196,7 +196,7 @@ export const hideNote = async (packedNote: any, meId: mongo.ObjectID) => { hide = false; } else { // 指定されているかどうか - const specified = packedNote.visibleUserIds.some((id: mongo.ObjectID) => id.equals(meId)); + const specified = packedNote.visibleUserIds.some((id: any) => meId.equals(id)); if (specified) { hide = false;