lib/tasks/webhooks.rake in disco_app-0.9.3 vs lib/tasks/webhooks.rake in disco_app-0.9.4
- old
+ new
@@ -1,10 +1,10 @@
namespace :webhooks do
desc 'Synchronise webhooks across all installed shops.'
task sync: :environment do
DiscoApp::Shop.installed.has_active_shopify_plan.each do |shop|
- DiscoApp::SynchroniseWebhooksJob.perform_later(shop.shopify_domain)
+ DiscoApp::SynchroniseWebhooksJob.perform_later(shop)
end
end
end