mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
fix DriveService.ts
This commit is contained in:
parent
2423fb8d38
commit
93dcd1c98e
@ -420,6 +420,7 @@ export class DriveService {
|
|||||||
|
|
||||||
for (const fileId of exceedFileIds) {
|
for (const fileId of exceedFileIds) {
|
||||||
const file = await this.driveFilesRepository.findOneBy({ id: fileId });
|
const file = await this.driveFilesRepository.findOneBy({ id: fileId });
|
||||||
|
if (file == null) continue;
|
||||||
this.deleteFile(file, true);
|
this.deleteFile(file, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user