Add a view to see all books in a collection
This commit is contained in:
@@ -31,7 +31,7 @@ func GetCollectionsHandler(ac appcontext.AppContext) {
|
||||
myvalidator.ReturnErrorsAsJsonResponse(&ac, err)
|
||||
return
|
||||
}
|
||||
collections := adapter.CollectionQueryToDto(collectionsDb)
|
||||
collections := adapter.CollectionQueryToCollectionItemDto(collectionsDb)
|
||||
count, err := query.FetchAllCollectionsCount(ac.Db, user.ID)
|
||||
if err != nil {
|
||||
myvalidator.ReturnErrorsAsJsonResponse(&ac, err)
|
||||
|
||||
Reference in New Issue
Block a user