Add checksum to the json

- Closes: #54
This commit is contained in:
Las Zenow 2020-06-24 11:07:04 +00:00
parent a1ee320eba
commit b54745028a

View file

@ -207,6 +207,7 @@ func bookJsonRaw(book database.Book) map[string]interface{} {
"lang": book.Lang,
"isbn": book.Isbn,
"size": book.FileSize,
"sha256": book.FileHash,
"cover": cover,
"cover_small": coverSmall,
"download": "/download/" + book.ID + "/" + book.Title + ".epub",