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
1 changed files with 1 additions and 0 deletions

View File

@ -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