Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ahobsonsayers committed Apr 29, 2024
1 parent ddaeeb9 commit d02640d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion goodreads/goodreads.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (c *Client) GetBooksByIds(ctx context.Context, bookIds []string) ([]Book, e
// Only return books whose work have a title
validBooks := make([]Book, 0, len(books))
for _, book := range books {
if book.Work.Title == "" {
if book.Work.Title != "" {
validBooks = append(validBooks, book)
}
}
Expand Down

0 comments on commit d02640d

Please sign in to comment.