mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 11:57:34 -07:00
Refactor
This commit is contained in:
parent
9c3f765343
commit
475e613931
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue