about summary refs log tree commit diff
path: root/app/models/webhook.rb
diff options
context:
space:
mode:
authorAlexander Ivanov <saiv46.dev@gmail.com>2023-01-05 20:29:49 +0800
committerGitHub <noreply@github.com>2023-01-05 13:29:49 +0100
commit8eb29741b440e3eeac297ec89a49a3fb1c9deb8d (patch)
tree43d26f073ee1952ca1095fe08f911bafe64fa7eb /app/models/webhook.rb
parent17f79082b098e05b68d6f0d38fabb3ac121879a9 (diff)
Add webhook `account.approved` (#22938)
* Webhook `account.approved` when preparing new user

* Update Webhook.EVENTS
Diffstat (limited to 'app/models/webhook.rb')
-rw-r--r--app/models/webhook.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/webhook.rb b/app/models/webhook.rb
index 431edd75d..4aafb1257 100644
--- a/app/models/webhook.rb
+++ b/app/models/webhook.rb
@@ -15,6 +15,7 @@
 
 class Webhook < ApplicationRecord
   EVENTS = %w(
+    account.approved
     account.created
     report.created
   ).freeze