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