chore(lint): Add missing semicolons
This commit is contained in:
@ -129,7 +129,7 @@ export default define(meta, async (ps, me) => {
|
||||
}
|
||||
|
||||
if (ps.host) {
|
||||
query.andWhere('instance.host like :host', { host: '%' + ps.host.toLowerCase() + '%' })
|
||||
query.andWhere('instance.host like :host', { host: '%' + ps.host.toLowerCase() + '%' });
|
||||
}
|
||||
|
||||
const instances = await query.take(ps.limit!).skip(ps.offset).getMany();
|
||||
|
@ -69,7 +69,7 @@ export default define(meta, async (ps, me) => {
|
||||
.andWhere('user.host LIKE :host', { host: ps.host.toLowerCase() + '%' });
|
||||
|
||||
if (ps.username) {
|
||||
q.andWhere('user.usernameLower like :username', { username: ps.username.toLowerCase() + '%' })
|
||||
q.andWhere('user.usernameLower like :username', { username: ps.username.toLowerCase() + '%' });
|
||||
}
|
||||
|
||||
q.andWhere('user.updatedAt IS NOT NULL');
|
||||
|
Reference in New Issue
Block a user