Skip to content

Commit

Permalink
FIX: listing photos in background
Browse files Browse the repository at this point in the history
  • Loading branch information
rigon committed Apr 20, 2023
1 parent 1f1c532 commit 65e9c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func AddWorkPhoto(collection *Collection, album *Album, photo *Photo, writer io.
}

func AddWorkPhotos(collection *Collection, album *Album) {
for _, photo := range album.Photos {
for _, photo := range album.photosMap {
log.Printf("Background Thumb [%s] %s\n", album.Name, photo.Title)
wg.Add(1)
w := new(Work)
Expand Down

0 comments on commit 65e9c76

Please sign in to comment.