mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00: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…
Reference in a new issue