mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 22:17:30 -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) => {
|
export default define(meta, async (ps, me) => {
|
||||||
const query = Users.createQueryBuilder('user')
|
const query = Users.createQueryBuilder('user')
|
||||||
.where('user.isLocked = FALSE')
|
.where('user.isLocked = FALSE')
|
||||||
.where('user.host IS NULL')
|
.andWhere('user.host IS NULL')
|
||||||
.where('user.updatedAt >= :date', { date: new Date(Date.now() - ms('7days')) })
|
.andWhere('user.updatedAt >= :date', { date: new Date(Date.now() - ms('7days')) })
|
||||||
.where('user.id != :meId', { meId: me.id })
|
.andWhere('user.id != :meId', { meId: me.id })
|
||||||
.orderBy('user.followersCount', 'DESC');
|
.orderBy('user.followersCount', 'DESC');
|
||||||
|
|
||||||
generateMuteQueryForUsers(query, me);
|
generateMuteQueryForUsers(query, me);
|
||||||
|
|
Loading…
Reference in a new issue