mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2025-01-18 11:32:56 +09:00
Fix bug
This commit is contained in:
parent
93b22ced82
commit
61a2c1b4ef
@ -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…
Reference in New Issue
Block a user