DEV: Remove summarization code (#27373)

This commit is contained in:
Keegan George
2024-07-02 08:51:47 -07:00
committed by GitHub
parent 052550c6e0
commit ea58140032
48 changed files with 586 additions and 2317 deletions

View File

@ -78,7 +78,6 @@ class TopicViewSerializer < ApplicationSerializer
:user_last_posted_at,
:is_shared_draft,
:slow_mode_enabled_until,
:summarizable,
)
has_one :details, serializer: TopicViewDetailsSerializer, root: false, embed: :objects
@ -311,10 +310,6 @@ class TopicViewSerializer < ApplicationSerializer
object.topic.slow_mode_topic_timer&.execute_at
end
def summarizable
object.summarizable?
end
def include_categories?
scope.can_lazy_load_categories?
end