mirror of
https://github.com/immich-app/immich.git
synced 2025-12-27 09:14:55 +03:00
fix(server): remove offline assets from trash (#12199)
* use port not taken by immich-dev for e2e * remove offline files from trash
This commit is contained in:
committed by
GitHub
parent
28bc7f318e
commit
39141d3f1c
@@ -581,7 +581,7 @@ export class LibraryService {
|
||||
this.logger.debug(`Removing offline assets for library ${job.id}`);
|
||||
|
||||
const assetPagination = usePagination(JOBS_LIBRARY_PAGINATION_SIZE, (pagination) =>
|
||||
this.assetRepository.getWith(pagination, WithProperty.IS_OFFLINE, job.id),
|
||||
this.assetRepository.getWith(pagination, WithProperty.IS_OFFLINE, job.id, true),
|
||||
);
|
||||
|
||||
let offlineAssets = 0;
|
||||
|
||||
Reference in New Issue
Block a user