From 6fa7819a445d9b2396b9bf0af5e4ea6b578a8ca3 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 5edc56165e..f7b7b65ca4 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) {