0
Fork 0
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:
pbustamantes 2024-09-09 02:11:24 -07:00 committed by GitHub
parent 0a649f28d9
commit a287a766d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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');