DEV: Add correct data to method

This commit is contained in:
Jordan Vidrine 2025-01-14 15:17:10 -06:00
parent 2398ab4fe6
commit 472783d1c1

View File

@ -170,7 +170,7 @@ module DiscourseRewind
book_title =
books.group_by { |book| book }.transform_values(&:count).max_by { |_, count| count }.first
{ title: book_title, isbn: popular_books[book_title][:isbn] }
{ title: book_title, isbn: popular_books[book_title][:isbn], series: popular_books[book_title][:series] }
end
end
end