feat: add book admin display fields
This commit is contained in:
@@ -14,7 +14,7 @@ func (s *BookAuthorService) CreateBookAuthor(item book.BookAuthor) error {
|
||||
if err := validateBookAuthor(item); err != nil {
|
||||
return err
|
||||
}
|
||||
return global.GVA_DB.Save(&item).Error
|
||||
return createWithExplicitIsEnabled(&item, item.IsEnabled)
|
||||
}
|
||||
|
||||
func (s *BookAuthorService) DeleteBookAuthor(item book.BookAuthor) error {
|
||||
|
||||
Reference in New Issue
Block a user