Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Commit 86d8c1f

Browse files
committed
fix(blacklist list): sort by expiring blacklists
1 parent 2cd7cf8 commit 86d8c1f

File tree

1 file changed

+1
-1
lines changed
  • src/commands/slash/Main/blacklist

1 file changed

+1
-1
lines changed

src/commands/slash/Main/blacklist/list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default class ListBlacklists extends BlacklistCommand {
3939
? await db.serverInfraction.findMany(query)
4040
: await db.userInfraction.findMany({
4141
where: query.where,
42-
orderBy: { expiresAt: 'asc' },
42+
orderBy: { expiresAt: 'desc' },
4343
include: { userData: { select: { username: true } } },
4444
});
4545

0 commit comments

Comments
 (0)