fix: query needs userId

This commit is contained in:
Namekuji 2023-09-19 16:34:19 -04:00
parent 457ccbb34f
commit 69f02e5a3a
No known key found for this signature in database
GPG key ID: 1D62332C07FBA532

View file

@ -184,7 +184,7 @@ export default define(meta, paramDef, async (ps, me) => {
"user",
ps,
{ note: filter },
me?.id,
user.id,
)) as ScyllaNote[]
).slice(0, ps.limit);
return await Notes.packMany(foundNotes, me);