about summary refs log tree commit diff
path: root/app/models/webhook.rb
diff options
context:
space:
mode:
authorVyr Cossont <VyrCossont@users.noreply.github.com>2023-03-18 23:47:54 -0700
committerGitHub <noreply@github.com>2023-03-19 07:47:54 +0100
commit94cbd808b5b3e7999c7e77dc724b7e8c9dd2bdec (patch)
tree8d99247a5d64a38a3ce45eb20f9dc75b74a6f492 /app/models/webhook.rb
parent34096bc6ea788fece267116ef190e0d218f77b18 (diff)
Webhooks for local status.create, status.update, account.update (#24133)
Diffstat (limited to 'app/models/webhook.rb')
-rw-r--r--app/models/webhook.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/webhook.rb b/app/models/webhook.rb
index 4aafb1257..9a056a386 100644
--- a/app/models/webhook.rb
+++ b/app/models/webhook.rb
@@ -17,7 +17,10 @@ class Webhook < ApplicationRecord
   EVENTS = %w(
     account.approved
     account.created
+    account.updated
     report.created
+    status.created
+    status.updated
   ).freeze
 
   scope :enabled, -> { where(enabled: true) }