From e9a1e281b928329c2e006a6354fef8082a444539 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 25 Nov 2020 21:33:57 +0900 Subject: [PATCH] Fix #6854 --- src/server/api/endpoints/notes/clips.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/api/endpoints/notes/clips.ts b/src/server/api/endpoints/notes/clips.ts index 6126f12c6..432dd8a46 100644 --- a/src/server/api/endpoints/notes/clips.ts +++ b/src/server/api/endpoints/notes/clips.ts @@ -48,6 +48,7 @@ export default define(meta, async (ps, me) => { const clips = await Clips.find({ id: In(clipNotes.map(x => x.clipId)), + isPublic: true }); return await Promise.all(clips.map(x => Clips.pack(x)));