mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:17:11 -05:00 
			
		
		
		
	fix(server): getAllAssets endpoint includes motion part of LivePhotos (#7194)
				
					
				
			This commit is contained in:
		
							parent
							
								
									dd53795953
								
							
						
					
					
						commit
						a8f177066b
					
				@ -116,7 +116,7 @@ export class AssetService {
 | 
			
		||||
    await this.access.requirePermission(auth, Permission.TIMELINE_READ, userId);
 | 
			
		||||
    const assets = await this.assetRepository.getAllByFileCreationDate(
 | 
			
		||||
      { 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));
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user