High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(web): unable to download live photo as anonymous user (#16455)
Thomas Laroche2510684bf7a5
diff --git a/web/src/lib/utils/asset-utils.ts b/web/src/lib/utils/asset-utils.tsindex 70f5c5f8f2..fa9725aa24 100644--- a/web/src/lib/utils/asset-utils.ts+++ b/web/src/lib/utils/asset-utils.ts@@ -229,7 +229,7 @@ export const downloadFile = async (asset: AssetResponseDto) => {if (asset.livePhotoVideoId) {const motionAsset = await getAssetInfo({ id: asset.livePhotoVideoId, key: getKey() });- if (!isAndroidMotionVideo(motionAsset) || get(preferences).download.includeEmbeddedVideos) {+ if (!isAndroidMotionVideo(motionAsset) || get(preferences)?.download.includeEmbeddedVideos) {assets.push({filename: motionAsset.originalFileName,id: asset.livePhotoVideoId,