mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-24 22:16:43 -06:00
Fix bug
This commit is contained in:
parent
792ec23d7a
commit
168c22fc98
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…
Reference in a new issue