mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
refactor: new asset-job repository (#17622)
* refactor: new asset-job repository * fix: broken medium tests on main
This commit is contained in:
parent
a522130122
commit
17e720440d
17 changed files with 239 additions and 205 deletions
|
|
@ -52,7 +52,7 @@ export class DuplicateService extends BaseService {
|
|||
return JobStatus.SKIPPED;
|
||||
}
|
||||
|
||||
const asset = await this.assetRepository.getAssetForSearchDuplicatesJob(id);
|
||||
const asset = await this.assetJobRepository.getForSearchDuplicatesJob(id);
|
||||
if (!asset) {
|
||||
this.logger.error(`Asset ${id} not found`);
|
||||
return JobStatus.FAILED;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue