Rename author to authors and subject to tags
This commit is contained in:
parent
e72de38725
commit
7f9c172853
17 changed files with 37 additions and 39 deletions
|
@ -208,11 +208,11 @@ func bookJsonRaw(book database.Book) map[string]interface{} {
|
|||
return map[string]interface{}{
|
||||
"id": book.Id,
|
||||
"title": book.Title,
|
||||
"author": book.Author,
|
||||
"authors": book.Authors,
|
||||
"contributor": book.Contributor,
|
||||
"publisher": book.Publisher,
|
||||
"description": book.Description,
|
||||
"subject": book.Subject,
|
||||
"tags": book.Tags,
|
||||
"date": book.Date,
|
||||
"lang": book.Lang,
|
||||
"isbn": book.Isbn,
|
||||
|
|
Reference in a new issue