Exclude suggested topics from topic view web hook

This commit is contained in:
Vinoth Kannan 2018-04-10 16:38:48 +05:30
parent d9ac0152e4
commit 96867743c8
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ class WebHookTopicViewSerializer < TopicViewSerializer
draft_key
draft_sequence
message_bus_last_id
suggested_topics
}.each do |attr|
define_method("include_#{attr}?") do
false