mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 06:43:07 +02:00
Fix #6854
This commit is contained in:
parent
0144408500
commit
e9a1e281b9
1 changed files with 1 additions and 0 deletions
|
@ -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)));
|
||||||
|
|
Loading…
Reference in a new issue