1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-29 15:11:58 +00:00

fix: #11131 storage migration not moving archived files after template change (#11139)

This commit is contained in:
Zack Pollard 2024-07-16 11:58:04 +01:00 committed by GitHub
parent 99fe7b809a
commit 87e8c16a90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -145,7 +145,7 @@ export class StorageTemplateService implements OnEvents {
return JobStatus.SKIPPED;
}
const assetPagination = usePagination(JOBS_ASSET_PAGINATION_SIZE, (pagination) =>
this.assetRepository.getAll(pagination, { withExif: true }),
this.assetRepository.getAll(pagination, { withExif: true, withArchived: true }),
);
const users = await this.userRepository.getList();