diff --git a/internal/calibre/api.go b/internal/calibre/api.go index 3f202b4..a8c9bf2 100644 --- a/internal/calibre/api.go +++ b/internal/calibre/api.go @@ -422,7 +422,7 @@ func (c Api) getDbFileOrCache(flush bool) (string, error) { } func (c Api) updateIndex(c2 *gin.Context) { - dbPath, err := c.getDbFileOrCache(false) + dbPath, err := c.getDbFileOrCache(true) newDb, _ := NewDb(dbPath) books, _ := newDb.queryAllBooks()