fix: query needs userId
This commit is contained in:
parent
457ccbb34f
commit
69f02e5a3a
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ export default define(meta, paramDef, async (ps, me) => {
|
||||||
"user",
|
"user",
|
||||||
ps,
|
ps,
|
||||||
{ note: filter },
|
{ note: filter },
|
||||||
me?.id,
|
user.id,
|
||||||
)) as ScyllaNote[]
|
)) as ScyllaNote[]
|
||||||
).slice(0, ps.limit);
|
).slice(0, ps.limit);
|
||||||
return await Notes.packMany(foundNotes, me);
|
return await Notes.packMany(foundNotes, me);
|
||||||
|
|
Loading…
Reference in a new issue