mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-22 22:15:12 +00: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