From 472783d1c1d6d389ab1956584d54af2db1d1c574 Mon Sep 17 00:00:00 2001 From: Jordan Vidrine Date: Tue, 14 Jan 2025 15:17:10 -0600 Subject: [PATCH] DEV: Add correct data to method --- app/services/discourse_rewind/rewind/action/reading_time.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/discourse_rewind/rewind/action/reading_time.rb b/app/services/discourse_rewind/rewind/action/reading_time.rb index ed88d3e..e65ef9c 100644 --- a/app/services/discourse_rewind/rewind/action/reading_time.rb +++ b/app/services/discourse_rewind/rewind/action/reading_time.rb @@ -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