This commit is contained in:
konrad 2018-01-15 13:12:26 +01:00 committed by kolaente
parent 1911ec4d5f
commit d2476e061f
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -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