Use the same widget for books everywhere
This commit is contained in:
@@ -50,5 +50,5 @@ func GetAuthorBooksHandler(ac appcontext.AppContext) {
|
||||
myvalidator.ReturnErrorsAsJsonResponse(&ac, err)
|
||||
return
|
||||
}
|
||||
ac.C.JSON(http.StatusOK, dto.BookSearchGet{Books: books, Count: count})
|
||||
ac.C.JSON(http.StatusOK, dto.BookItemsGet{Books: books, Count: count})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user