From deeed5b8c10ec0c0545d9d49b8f9f9be2cc07494 Mon Sep 17 00:00:00 2001 From: Mark VanLandingham Date: Fri, 1 Nov 2024 13:30:37 -0500 Subject: [PATCH] DEV: Add 'custom' WebHook event type group (#29549) --- app/models/web_hook_event_type.rb | 1 + config/locales/client.en.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/app/models/web_hook_event_type.rb b/app/models/web_hook_event_type.rb index f4120e7cab9..2a9ac2067bb 100644 --- a/app/models/web_hook_event_type.rb +++ b/app/models/web_hook_event_type.rb @@ -35,6 +35,7 @@ class WebHookEventType < ActiveRecord::Base user_promoted: 13, voting: 14, chat: 15, + custom: 16, }, _scopes: false diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 6ab03ed126c..05cc930fae8 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -5497,6 +5497,8 @@ en: group_name: "Group User Events" user_added_to_group: "A user is added to a group" user_removed_from_group: "A user is removed from a group" + custom_event: + group_name: "Custom Events" user_promoted_event: group_name: "User Promoted Events" user_promoted: "A user is promoted"