chore(lint): Add missing semicolons

This commit is contained in:
syuilo
2020-05-10 17:25:16 +09:00
parent 7231f5ff0b
commit a3283c71ef
9 changed files with 26 additions and 26 deletions

View File

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

View File

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