mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: trigger webhook when a user added/removed in a group. (#12653)
Whenever a group is added or removed from a group a webhook event will get triggered if it's active.
This commit is contained in:
6
app/serializers/web_hook_group_user_serializer.rb
Normal file
6
app/serializers/web_hook_group_user_serializer.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WebHookGroupUserSerializer < BasicGroupUserSerializer
|
||||
attributes :id,
|
||||
:created_at
|
||||
end
|
||||
Reference in New Issue
Block a user