1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-01 16:28:12 +09:00
This commit is contained in:
syuilo 2019-04-15 23:00:39 +09:00
parent 792ec23d7a
commit 168c22fc98
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -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();