Skip to content

Commit

Permalink
api fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jianyun8023 committed Aug 4, 2024
1 parent 3785504 commit b0e8842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/calibre/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit b0e8842

Please sign in to comment.