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

pull/11144/head
Zack Pollard 2024-07-16 11:58:04 +07:00 committed by GitHub
parent 99fe7b809a
commit 87e8c16a90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

@ -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();