Exclude available_groups from category web hooks

This commit is contained in:
Vinoth Kannan 2018-04-10 16:46:22 +05:30
parent 96867743c8
commit 4822b77b49

View File

@ -3,6 +3,7 @@ class WebHookCategorySerializer < CategorySerializer
%i{
can_edit
notification_level
available_groups
}.each do |attr|
define_method("include_#{attr}?") do
false