mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:04:11 +08:00
FIX: Exclude image_url from web_hook_topic_view_serializer
This commit is contained in:
parent
7d09af7eda
commit
e112369bb6
|
@ -20,6 +20,7 @@ class WebHookTopicViewSerializer < TopicViewSerializer
|
|||
topic_timer
|
||||
private_topic_timer
|
||||
details
|
||||
image_url
|
||||
}.each do |attr|
|
||||
define_method("include_#{attr}?") do
|
||||
false
|
||||
|
|
Loading…
Reference in New Issue
Block a user