diff --git a/server/src/services/media.service.ts b/server/src/services/media.service.ts index 3f25134741..e74335bdc3 100644 --- a/server/src/services/media.service.ts +++ b/server/src/services/media.service.ts @@ -176,7 +176,7 @@ export class MediaService { async handleGeneratePreview({ id }: IEntityJob): Promise { const [{ image }, [asset]] = await Promise.all([ this.configCore.getConfig({ withCache: true }), - this.assetRepository.getByIds([id], { exifInfo: true }), + this.assetRepository.getByIds([id], { exifInfo: true, files: true }), ]); if (!asset) { return JobStatus.FAILED;