mirror of
https://github.com/immich-app/immich.git
synced 2025-01-21 00:52:43 -05:00
fix typo on asset-media.service.ts (#12486)
This commit is contained in:
parent
0a649f28d9
commit
a287a766d9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue