mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 01:47:39 -07:00
[backend/masto-client] Correctly set meId in FTS query helper
This commit is contained in:
parent
e4850b4636
commit
6f3818a8bb
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ export class SearchHelpers {
|
||||||
generateBlockedUserQuery(query, user);
|
generateBlockedUserQuery(query, user);
|
||||||
}
|
}
|
||||||
|
|
||||||
query.setParameter("meId", user);
|
query.setParameter("meId", user.id);
|
||||||
|
|
||||||
return query.skip(offset ?? 0).take(limit).getMany().then(p => minId ? p.reverse() : p);
|
return query.skip(offset ?? 0).take(limit).getMany().then(p => minId ? p.reverse() : p);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue