We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 895b793 commit 1ddb40eCopy full SHA for 1ddb40e
lib/fetch_book_data.rb
@@ -19,7 +19,7 @@ def fetch_titles
19
20
items = results.fetch('items', [])
21
# See https://github.com/openstax/openstax-cms/blob/main/books/constants.py#L7 for book states
22
- books = items.reject{ %w[retired unlisted].include?(i['book_state']) }
+ books = items.reject { |i| %w[retired unlisted].include?(i['book_state']) }
23
24
books_with_subject = []
25
0 commit comments