Skip to content

Commit

Permalink
Fix #6854
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo committed Nov 25, 2020
1 parent 0144408 commit e9a1e28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/api/endpoints/notes/clips.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
Expand Down

0 comments on commit e9a1e28

Please sign in to comment.