mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 04:31:56 +08:00
6 lines
182 B
Ruby
6 lines
182 B
Ruby
# frozen_string_literal: true
|
|
|
|
class WebHookGroupSerializer < BasicGroupSerializer
|
|
%i[is_group_user is_group_owner].each { |attr| define_method("include_#{attr}?") { false } }
|
|
end
|