mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Fix bug
This commit is contained in:
parent
93b22ced82
commit
61a2c1b4ef
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ async function deleteOldFile(user: IRemoteUser) {
|
|||
q.andWhere('file.id != :bannerId', { bannerId: user.bannerId });
|
||||
}
|
||||
|
||||
q.orderBy('file.id', 'DESC');
|
||||
q.orderBy('file.id', 'ASC');
|
||||
|
||||
const oldFile = await q.getOne();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue