1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 23:55:58 +09:00
This commit is contained in:
syuilo 2018-09-18 02:13:42 +09:00
parent 44f6fe6f1f
commit 2fad6e6d5f
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -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;