mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 21:45:26 +08:00
FEATURE: Webhook for group and category events
This commit is contained in:
@ -122,6 +122,7 @@ class GroupsController < ApplicationController
|
||||
|
||||
if group.update_attributes(group_params)
|
||||
GroupActionLogger.new(current_user, group).log_change_group_settings
|
||||
DiscourseEvent.trigger(:group_updated, group)
|
||||
|
||||
render json: success_json
|
||||
else
|
||||
|
Reference in New Issue
Block a user