Merge branch 'develop' of https://github.com/syuilo/misskey into develop

This commit is contained in:
syuilo 2019-04-15 20:37:29 +09:00
commit c0f72970b9
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

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