Add docker image #1
This commit is contained in:
Alan Grainger
2024-10-31 13:34:32 +01:00
parent 26beaf4742
commit dd1f79401f
3 changed files with 3 additions and 6 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
import { Album, Asset, AssetType, ImageSize, SharedLink } from './types'
import { Asset, AssetType, ImageSize, SharedLink } from './types'
import dayjs from 'dayjs'
import { log } from './index'
@@ -35,6 +35,7 @@ class Immich {
} else {
// Filter assets to exclude trashed assets
link.assets = link.assets.filter(asset => !asset.isTrashed)
// Populate the shared assets with the public key
link.assets.forEach(asset => { asset.key = key })
return link
}