1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-12 05:38:55 +09:00
This commit is contained in:
syuilo 2019-04-17 02:19:49 +09:00
parent 2e55aea584
commit bcb1a9c5d3
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

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