mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
@@ -111,7 +111,7 @@ func startAction(ctx *cli.Context) error {
|
||||
// start web server
|
||||
go server.Start(cctx, conf)
|
||||
|
||||
if count, err := photoprism.RestoreAlbums(false); err != nil {
|
||||
if count, err := photoprism.RestoreAlbums(conf.AlbumsPath(), false); err != nil {
|
||||
log.Errorf("restore: %s", err)
|
||||
} else if count > 0 {
|
||||
log.Infof("%d albums restored", count)
|
||||
|
||||
Reference in New Issue
Block a user