Exclude available_groups from category web hooks
This commit is contained in:
parent
96867743c8
commit
4822b77b49
|
@ -3,6 +3,7 @@ class WebHookCategorySerializer < CategorySerializer
|
||||||
%i{
|
%i{
|
||||||
can_edit
|
can_edit
|
||||||
notification_level
|
notification_level
|
||||||
|
available_groups
|
||||||
}.each do |attr|
|
}.each do |attr|
|
||||||
define_method("include_#{attr}?") do
|
define_method("include_#{attr}?") do
|
||||||
false
|
false
|
||||||
|
|
Loading…
Reference in New Issue