mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 23:36:11 +08:00
FIX: Exclude image_url from web_hook_topic_view_serializer
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user