remove extra spaces from notes field
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
0e878dac97
commit
3fdc4bf509
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user