1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-27 14:28:49 +09:00
This commit is contained in:
syuilo 2020-11-25 21:33:57 +09:00
parent 0144408500
commit e9a1e281b9

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