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

This commit is contained in:
David 2022-10-30 20:10:43 -04:00
parent 0e878dac97
commit 3fdc4bf509
1 changed files with 1 additions and 0 deletions

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)
}