mirror of
https://github.com/immich-app/immich.git
synced 2026-05-23 08:02:29 -04:00
fix(server): clean up edited thumbnail when deleting asset (#26664)
This commit is contained in:
@@ -566,6 +566,8 @@ describe(AssetService.name, () => {
|
||||
.file({ type: AssetFileType.Thumbnail })
|
||||
.file({ type: AssetFileType.Preview })
|
||||
.file({ type: AssetFileType.FullSize })
|
||||
.file({ type: AssetFileType.Preview, isEdited: true })
|
||||
.file({ type: AssetFileType.Thumbnail, isEdited: true })
|
||||
.build();
|
||||
mocks.assetJob.getForAssetDeletion.mockResolvedValue(asset);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user