This commit is contained in:
syuilo 2019-04-17 02:19:49 +09:00
parent 9c3f765343
commit 475e613931

View file

@ -43,7 +43,7 @@ export default async function(file: DriveFile, isExpired = false) {
// TODO: トランザクション
Notes.createQueryBuilder('note').delete()
.andWhere(':id = ANY(note.fileIds)', { id: file.id })
.where(':id = ANY(note.fileIds)', { id: file.id })
.execute();
}