User book API: use a single query with result and count
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
||||
)
|
||||
|
||||
type bookAuthorGetResult struct {
|
||||
Count int64 `json:"count"`
|
||||
Count int64 `json:"count"`
|
||||
Books []bookAuthorGet `json:"books"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user