mirror of
https://github.com/LukeHagar/immich.git
synced 2025-12-10 04:20:16 +00:00
refactor: remove album entity, update types (#17450)
This commit is contained in:
@@ -68,7 +68,7 @@ export class DuplicateService extends BaseService {
|
||||
return JobStatus.SKIPPED;
|
||||
}
|
||||
|
||||
const previewFile = getAssetFile(asset.files, AssetFileType.PREVIEW);
|
||||
const previewFile = getAssetFile(asset.files || [], AssetFileType.PREVIEW);
|
||||
if (!previewFile) {
|
||||
this.logger.warn(`Asset ${id} is missing preview image`);
|
||||
return JobStatus.FAILED;
|
||||
|
||||
Reference in New Issue
Block a user