fix: profile pack

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

View file

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