mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 08:31:59 +00:00
fix(server): getAllAssets
endpoint includes motion part of LivePhotos (#7194)
This commit is contained in:
parent
dd53795953
commit
a8f177066b
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ export class AssetService {
|
||||||
await this.access.requirePermission(auth, Permission.TIMELINE_READ, userId);
|
await this.access.requirePermission(auth, Permission.TIMELINE_READ, userId);
|
||||||
const assets = await this.assetRepository.getAllByFileCreationDate(
|
const assets = await this.assetRepository.getAllByFileCreationDate(
|
||||||
{ take: dto.take ?? 1000, skip: dto.skip },
|
{ take: dto.take ?? 1000, skip: dto.skip },
|
||||||
{ ...dto, userIds: [userId], withDeleted: true, orderDirection: 'DESC', withExif: true },
|
{ ...dto, userIds: [userId], withDeleted: true, orderDirection: 'DESC', withExif: true, isVisible: true },
|
||||||
);
|
);
|
||||||
return assets.items.map((asset) => mapAsset(asset));
|
return assets.items.map((asset) => mapAsset(asset));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue