summaryrefslogtreecommitdiff
path: root/lib/super_good/solidus_taxjar
diff options
context:
space:
mode:
Diffstat (limited to 'lib/super_good/solidus_taxjar')
-rw-r--r--lib/super_good/solidus_taxjar/tax_calculator.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/super_good/solidus_taxjar/tax_calculator.rb b/lib/super_good/solidus_taxjar/tax_calculator.rb
index e8e12f4..e6ac0a2 100644
--- a/lib/super_good/solidus_taxjar/tax_calculator.rb
+++ b/lib/super_good/solidus_taxjar/tax_calculator.rb
@@ -123,13 +123,7 @@ module SuperGood
end
def cache_key
- APIParams.order_params(order).transform_values do |value|
- case value
- when Array, Hash then value.hash
- else
- value
- end
- end
+ SuperGood::SolidusTaxJar.cache_key.(order)
end
def exception_handler