FIX: Remove topic answer mixin from category detailed serializer.

FIX: Remove topic answer mixin from category detailed serializer.

diff --git a/plugin.rb b/plugin.rb
index 3de7396..e7b9df4 100644
--- a/plugin.rb
+++ b/plugin.rb
@@ -498,7 +498,6 @@ SQL
   require_dependency 'topic_list_item_serializer'
   require_dependency 'search_topic_list_item_serializer'
   require_dependency 'suggested_topic_serializer'
-  require_dependency 'category_detailed_serializer'
   require_dependency 'user_summary_serializer'
 
   class ::TopicListItemSerializer
@@ -513,10 +512,6 @@ SQL
     include TopicAnswerMixin
   end
 
-  class ::CategoryDetailedSerializer
-    include TopicAnswerMixin
-  end
-
   class ::UserSummarySerializer::TopicSerializer
     include TopicAnswerMixin
   end

GitHub sha: 818bff2b

@vinothkannans do you know why was this included in the first place and why it needed to be removed?

1 Like

It’s totally a mistake. Instead of ListableTopicSerializer I added the mixin into this :man_facepalming:

2 Likes