mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
Fix bug
This commit is contained in:
parent
16a4788387
commit
bde2f84767
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