Refactor collection header query to remove warning

This commit is contained in:
2026-04-08 15:35:00 +02:00
parent dbf0face76
commit aca2a2c339
3 changed files with 14 additions and 8 deletions

View File

@@ -45,10 +45,9 @@ type BookItemGet struct {
}
type CollectionGet struct {
Name string `json:"name"`
Count int64 `json:"count"`
Books []BookItemGet `json:"books"`
UserID uint `json:"-"`
Name string `json:"name"`
Count int64 `json:"count"`
Books []BookItemGet `json:"books"`
}
type CollectionItemsGet struct {