mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-30 15:58:16 +09:00
lint
This commit is contained in:
parent
d3c7ddd2f4
commit
202cb38c40
@ -91,14 +91,14 @@ export default define(meta, async (ps, me) => {
|
|||||||
.andWhere('user.isSuspended = FALSE')
|
.andWhere('user.isSuspended = FALSE')
|
||||||
.andWhere('user.usernameLower LIKE :username', { username: ps.username.toLowerCase() + '%' })
|
.andWhere('user.usernameLower LIKE :username', { username: ps.username.toLowerCase() + '%' })
|
||||||
.andWhere('user.updatedAt IS NOT NULL');
|
.andWhere('user.updatedAt IS NOT NULL');
|
||||||
|
|
||||||
otherQuery.setParameters(followingQuery.getParameters());
|
otherQuery.setParameters(followingQuery.getParameters());
|
||||||
|
|
||||||
const otherUsers = await otherQuery
|
const otherUsers = await otherQuery
|
||||||
.orderBy('user.updatedAt', 'DESC')
|
.orderBy('user.updatedAt', 'DESC')
|
||||||
.take(ps.limit! - users.length)
|
.take(ps.limit! - users.length)
|
||||||
.getMany();
|
.getMany();
|
||||||
|
|
||||||
users = users.concat(otherUsers);
|
users = users.concat(otherUsers);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user