@@ -66,10 +66,10 @@ func BatchPhotosArchive(router *gin.RouterGroup) {
6666 }
6767
6868 // Update precalculated photo and file counts.
69- logError ( "photos " , entity .UpdatePhotoCounts ())
69+ logWarn ( "index " , entity .UpdateCounts ())
7070
7171 // Update album, subject, and label cover thumbs.
72- logError ( "photos " , query .UpdateCovers ())
72+ logWarn ( "index " , query .UpdateCovers ())
7373
7474 UpdateClientConfig ()
7575
@@ -128,10 +128,10 @@ func BatchPhotosRestore(router *gin.RouterGroup) {
128128 }
129129
130130 // Update precalculated photo and file counts.
131- logError ( "photos " , entity .UpdatePhotoCounts ())
131+ logWarn ( "index " , entity .UpdateCounts ())
132132
133133 // Update album, subject, and label cover thumbs.
134- logError ( "photos " , query .UpdateCovers ())
134+ logWarn ( "index " , query .UpdateCovers ())
135135
136136 UpdateClientConfig ()
137137
@@ -264,7 +264,7 @@ func BatchPhotosPrivate(router *gin.RouterGroup) {
264264 }
265265
266266 // Update precalculated photo and file counts.
267- logError ( "photos " , entity .UpdatePhotoCounts ())
267+ logWarn ( "index " , entity .UpdateCounts ())
268268
269269 if photos , err := query .PhotoSelection (f ); err == nil {
270270 for _ , p := range photos {
@@ -382,7 +382,7 @@ func BatchPhotosDelete(router *gin.RouterGroup) {
382382 // Any photos deleted?
383383 if len (deleted ) > 0 {
384384 // Update precalculated photo and file counts.
385- logError ( "photos " , entity .UpdatePhotoCounts ())
385+ logWarn ( "index " , entity .UpdateCounts ())
386386
387387 UpdateClientConfig ()
388388
0 commit comments