mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 22:03:08 +02:00
lint
This commit is contained in:
parent
d3c7ddd2f4
commit
202cb38c40
1 changed files with 3 additions and 3 deletions
|
@ -91,14 +91,14 @@ export default define(meta, async (ps, me) => {
|
|||
.andWhere('user.isSuspended = FALSE')
|
||||
.andWhere('user.usernameLower LIKE :username', { username: ps.username.toLowerCase() + '%' })
|
||||
.andWhere('user.updatedAt IS NOT NULL');
|
||||
|
||||
|
||||
otherQuery.setParameters(followingQuery.getParameters());
|
||||
|
||||
|
||||
const otherUsers = await otherQuery
|
||||
.orderBy('user.updatedAt', 'DESC')
|
||||
.take(ps.limit! - users.length)
|
||||
.getMany();
|
||||
|
||||
|
||||
users = users.concat(otherUsers);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue