mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:17:11 -05:00 
			
		
		
		
	fix typo on asset-media.service.ts (#12486)
This commit is contained in:
		
							parent
							
								
									0a649f28d9
								
							
						
					
					
						commit
						a287a766d9
					
				@ -163,7 +163,7 @@ export class AssetMediaService {
 | 
				
			|||||||
          throw new BadRequestException('Live photo video not found');
 | 
					          throw new BadRequestException('Live photo video not found');
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        if (motionAsset.type !== AssetType.VIDEO) {
 | 
					        if (motionAsset.type !== AssetType.VIDEO) {
 | 
				
			||||||
          throw new BadRequestException('Live photo vide must be a video');
 | 
					          throw new BadRequestException('Live photo video must be a video');
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        if (motionAsset.ownerId !== auth.user.id) {
 | 
					        if (motionAsset.ownerId !== auth.user.id) {
 | 
				
			||||||
          throw new BadRequestException('Live photo video does not belong to the user');
 | 
					          throw new BadRequestException('Live photo video does not belong to the user');
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user