Fix #29 Download all password albums

This commit is contained in:
Alan Grainger
2024-12-01 18:32:26 +13:00
parent a4e4762cfb
commit e633f00afa
6 changed files with 47 additions and 28 deletions
+1
View File
@@ -136,6 +136,7 @@ class Immich {
if (res.status === 200) {
// Normal response - get the shared assets
link = jsonBody as SharedLink
link.password = password
if (link.expiresAt && dayjs(link.expiresAt) < dayjs()) {
// This link has expired
log('Expired link ' + key)