Skip to content

Commit

Permalink
fix DriveService.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaina authored and na2na-p committed May 10, 2023
1 parent e0e3d8e commit 8615c4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/backend/src/core/DriveService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ export class DriveService {

for (const fileId of exceedFileIds) {
const file = await this.driveFilesRepository.findOneBy({ id: fileId });
if (file == null) continue;
this.deleteFile(file, true);
}
}
Expand Down

0 comments on commit 8615c4b

Please sign in to comment.