fix: profile pack
This commit is contained in:
parent
297a765761
commit
457ccbb34f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue