Skip to content

Commit 4f2c4ba

Browse files
committed
FIX: use the correct collection when updating pseudo albums
1 parent c306101 commit 4f2c4ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/pseudo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ func (album *Album) GetPhotosForPseudo(collection *Collection, isAdd bool, runni
261261
}
262262
// Update info about cached photos if there is a change
263263
if result {
264-
collection.cache.AddPhotoInfo(photo)
264+
srcCollection.cache.AddPhotoInfo(photo)
265265
}
266266

267267
photos = append(photos, photo)

0 commit comments

Comments
 (0)