remove whitespace

This commit is contained in:
Zaida-3dO
2025-11-03 19:10:16 +00:00
committed by GitHub
parent 28455b6276
commit a59d798d6d
+2 -2
View File
@@ -112,13 +112,13 @@ class Render {
// Use .map to generate an array of promises, then await them all to load in parallel. // Use .map to generate an array of promises, then await them all to load in parallel.
const items = await Promise.all(share.assets.map(async (asset) => { const items = await Promise.all(share.assets.map(async (asset) => {
let video, downloadUrl let video, downloadUrl
if (asset.type === AssetType.video) { if (asset.type === AssetType.video) {
// Populate the data-video property // Populate the data-video property
video = JSON.stringify({ video = JSON.stringify({
source: [ source: [
{ {
src: immich.videoUrl(share.key, asset.id), src: immich.videoUrl(share.key, asset.id),
type: await immich.getVideoContentType(asset) type: await immich.getVideoContentType(asset)
} }
], ],
attributes: { attributes: {