mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-26 02:55:30 +00:00
Fix bug
This commit is contained in:
parent
291e7e7943
commit
2b8187f7ab
1 changed files with 3 additions and 3 deletions
|
@ -42,9 +42,9 @@ export const meta = {
|
|||
export default define(meta, async (ps, me) => {
|
||||
const query = Users.createQueryBuilder('user')
|
||||
.where('user.isLocked = FALSE')
|
||||
.where('user.host IS NULL')
|
||||
.where('user.updatedAt >= :date', { date: new Date(Date.now() - ms('7days')) })
|
||||
.where('user.id != :meId', { meId: me.id })
|
||||
.andWhere('user.host IS NULL')
|
||||
.andWhere('user.updatedAt >= :date', { date: new Date(Date.now() - ms('7days')) })
|
||||
.andWhere('user.id != :meId', { meId: me.id })
|
||||
.orderBy('user.followersCount', 'DESC');
|
||||
|
||||
generateMuteQueryForUsers(query, me);
|
||||
|
|
Loading…
Reference in a new issue