Use usual book widget for collection form view

This commit is contained in:
2026-04-07 16:16:11 +02:00
parent a537c12a3b
commit f2899b968c
6 changed files with 63 additions and 83 deletions

View File

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