mirror of
https://github.com/hotomoe/hotomoe
synced 2024-11-28 23:08:17 +09:00
Refactor
This commit is contained in:
parent
2e55aea584
commit
bcb1a9c5d3
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user