mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-24 04:23:08 +02:00
Follow lint
This commit is contained in:
parent
d2d991ff34
commit
f90b6dbed4
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ async function deleteOldFile(user: IRemoteUser) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (user.bannerId) {
|
if (user.bannerId) {
|
||||||
q.andWhere('file.id != :bannerId', { bannerId: user.bannerId })
|
q.andWhere('file.id != :bannerId', { bannerId: user.bannerId });
|
||||||
}
|
}
|
||||||
|
|
||||||
q.orderBy('file.id', 'DESC');
|
q.orderBy('file.id', 'DESC');
|
||||||
|
|
Loading…
Reference in a new issue