Add webhook account.approved
(#22938)
* Webhook `account.approved` when preparing new user * Update Webhook.EVENTS
This commit is contained in:
@ -489,6 +489,7 @@ class User < ApplicationRecord
|
||||
BootstrapTimelineWorker.perform_async(account_id)
|
||||
ActivityTracker.increment('activity:accounts:local')
|
||||
UserMailer.welcome(self).deliver_later
|
||||
TriggerWebhookWorker.perform_async('account.approved', 'Account', account_id)
|
||||
end
|
||||
|
||||
def prepare_returning_user!
|
||||
|
Reference in New Issue
Block a user