remove extra spaces from notes field
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
David 2022-10-30 20:10:43 -04:00
parent 0e878dac97
commit 3fdc4bf509

View File

@ -179,6 +179,7 @@ func (m *MySQL) GetAllBooks(ctx context.Context) ([]media.Book, error) {
return nil, err
}
b.Authors = strings.Split(authors, ";")
b.Notes = strings.TrimSpace(b.Notes)
books = append(books, b)
}