mirror of
https://github.com/discourse/discourse.git
synced 2025-03-24 06:01:38 +08:00
Exclude available_groups from category web hooks
This commit is contained in:
parent
96867743c8
commit
4822b77b49
@ -3,6 +3,7 @@ class WebHookCategorySerializer < CategorySerializer
|
||||
%i{
|
||||
can_edit
|
||||
notification_level
|
||||
available_groups
|
||||
}.each do |attr|
|
||||
define_method("include_#{attr}?") do
|
||||
false
|
||||
|
Loading…
x
Reference in New Issue
Block a user