From b8051b0e22c0578bade631c232728a0baffa62d5 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Fri, 30 Nov 2018 18:13:55 +0900 Subject: [PATCH] Fix #3442 (#3443) --- src/server/api/endpoints/notes.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/api/endpoints/notes.ts b/src/server/api/endpoints/notes.ts index 5edc56165..f7b7b65ca 100644 --- a/src/server/api/endpoints/notes.ts +++ b/src/server/api/endpoints/notes.ts @@ -78,6 +78,7 @@ export default define(meta, (ps) => new Promise(async (res, rej) => { _id: -1 }; const query = { + deletedAt: null, visibility: 'public' } as any; if (ps.sinceId) {