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…
Reference in New Issue