Fix field name on import
This commit is contained in:
parent
dc21299e19
commit
6ae0d1b0ac
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ func uploadEpub(filename string, db *DB) {
|
|||
return
|
||||
}
|
||||
|
||||
book["filename"] = id
|
||||
book["filenamesize"] = size
|
||||
book["file"] = id
|
||||
book["filesize"] = size
|
||||
err = db.InsertBook(book)
|
||||
if err != nil {
|
||||
log.Error("Error storing metadata (", title, "): ", err)
|
||||
|
|
Reference in a new issue