mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 10:41:45 +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
|
topic_timer
|
||||||
private_topic_timer
|
private_topic_timer
|
||||||
details
|
details
|
||||||
|
image_url
|
||||||
}.each do |attr|
|
}.each do |attr|
|
||||||
define_method("include_#{attr}?") do
|
define_method("include_#{attr}?") do
|
||||||
false
|
false
|
||||||
|
|
Loading…
Reference in New Issue
Block a user