mirror of
https://github.com/zebrajr/immich.git
synced 2025-12-06 12:20:54 +01:00
fix(web): unable to download live photo as anonymous user (#16455)
This commit is contained in:
parent
c8eef5ad4d
commit
2510684bf7
|
|
@ -229,7 +229,7 @@ export const downloadFile = async (asset: AssetResponseDto) => {
|
||||||
|
|
||||||
if (asset.livePhotoVideoId) {
|
if (asset.livePhotoVideoId) {
|
||||||
const motionAsset = await getAssetInfo({ id: asset.livePhotoVideoId, key: getKey() });
|
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({
|
assets.push({
|
||||||
filename: motionAsset.originalFileName,
|
filename: motionAsset.originalFileName,
|
||||||
id: asset.livePhotoVideoId,
|
id: asset.livePhotoVideoId,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user