app/models/disco_app/concerns/synchronises.rb in disco_app-0.13.8 vs app/models/disco_app/concerns/synchronises.rb in disco_app-0.14.0

- old
+ new

@@ -43,10 +43,10 @@ def synchronise_deletion(shop, data) data = data.with_indifferent_access return unless should_synchronise_deletion?(shop, data) - self.destroy_all(shop: shop, id: data[:id]) + self.where(shop: shop, id: data[:id]).destroy_all end def synchronise_all(shop, params = {}) resource_count = shop.with_api_context { self::SHOPIFY_API_CLASS.count(params) }