Feature: Webhooks (#489)
This commit is contained in:
7
app/jobs/webhook_job.rb
Normal file
7
app/jobs/webhook_job.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class WebhookJob < ApplicationJob
|
||||
queue_as :webhooks
|
||||
|
||||
def perform(url, payload)
|
||||
Webhooks::Trigger.execute(url, payload)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user