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",
ps,
{ note: filter },
user.id,
me?.id,
)) as ScyllaNote[]
).slice(0, ps.limit);
return await Notes.packMany(foundNotes, user);
return await Notes.packMany(foundNotes, me);
}
//#region Construct query