مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2026-01-22 15:48:18 +00:00
initial commit from appmail
هذا الالتزام موجود في:
13
app/jobs/webhook_delivery_job.rb
Normal file
13
app/jobs/webhook_delivery_job.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
class WebhookDeliveryJob < Postal::Job
|
||||
def perform
|
||||
if webhook_request = WebhookRequest.find_by_id(params['id'])
|
||||
if webhook_request.deliver
|
||||
log "Succesfully delivered"
|
||||
else
|
||||
log "Delivery failed"
|
||||
end
|
||||
else
|
||||
log "No webhook request found with ID '#{params['id']}'"
|
||||
end
|
||||
end
|
||||
end
|
||||
المرجع في مشكلة جديدة
حظر مستخدم