mirror of
https://github.com/discourse/discourse.git
synced 2025-03-28 08:16:40 +08:00
Exclude post_notice_* from web hook post payload.
This commit is contained in:
parent
8384075184
commit
88355884c9
@ -18,6 +18,8 @@ class WebHookPostSerializer < PostSerializer
|
||||
primary_group_flair_url
|
||||
primary_group_flair_bg_color
|
||||
primary_group_flair_color
|
||||
post_notice_time
|
||||
post_notice_type
|
||||
}.each do |attr|
|
||||
define_method("include_#{attr}?") do
|
||||
false
|
||||
|
Loading…
x
Reference in New Issue
Block a user