This commit is contained in:
syuilo 2020-11-25 21:33:57 +09:00
parent 22bf57d794
commit e9632f93ca

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)));