From 278ffa26c05f539b95ec141bbe49bd2c249b1c40 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 31 Oct 2018 17:56:21 +0900 Subject: [PATCH] Fix #3041 --- src/server/api/endpoints/users/notes.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/server/api/endpoints/users/notes.ts b/src/server/api/endpoints/users/notes.ts index 8605a32de..6934f7c4b 100644 --- a/src/server/api/endpoints/users/notes.ts +++ b/src/server/api/endpoints/users/notes.ts @@ -143,8 +143,7 @@ export default (params: any, me: ILocalUser) => new Promise(async (res, rej) => const query = { deletedAt: null, - userId: user._id, - visibility: { $in: ['public', 'home'] } + userId: user._id } as any; if (ps.sinceId) {