mirror of
https://github.com/immich-app/immich.git
synced 2025-12-21 09:15:44 +03:00
fix typo on asset-media.service.ts (#12486)
This commit is contained in:
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user