[backend/masto-client] Correctly set meId in FTS query helper

This commit is contained in:
Laura Hausmann 2024-04-24 03:02:24 +02:00
parent e4850b4636
commit 6f3818a8bb
No known key found for this signature in database
GPG Key ID: D044E84C5BE01605

View File

@ -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);
} }