mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-01 16:28:12 +09:00
Fix bug
This commit is contained in:
parent
792ec23d7a
commit
168c22fc98
@ -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