comment
This commit is contained in:
parent
1911ec4d5f
commit
d2476e061f
|
@ -16,7 +16,7 @@ func DeleteBookByID(id int64) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
// Delete all authors associated with that book
|
// Delete all author associations for that book
|
||||||
_, err = x.Delete(&AuthorBook{BookID: id})
|
_, err = x.Delete(&AuthorBook{BookID: id})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue