0
0
Fork 0

Webhooks for local status.create, status.update, account.update (#24133)

This commit is contained in:
Vyr Cossont 2023-03-18 23:47:54 -07:00 committed by GitHub
parent 34096bc6ea
commit 94cbd808b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 23 additions and 2 deletions

View file

@ -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) }