This commit is contained in:
syuilo 2020-11-25 21:33:57 +09:00
parent 0144408500
commit e9a1e281b9
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ export default define(meta, async (ps, me) => {
const clips = await Clips.find({ const clips = await Clips.find({
id: In(clipNotes.map(x => x.clipId)), id: In(clipNotes.map(x => x.clipId)),
isPublic: true
}); });
return await Promise.all(clips.map(x => Clips.pack(x))); return await Promise.all(clips.map(x => Clips.pack(x)));