From 78336bb67cac520e2658dd6d3528e640338c8645 Mon Sep 17 00:00:00 2001 From: Sharipov Ruslan Date: Tue, 20 Sep 2016 14:17:08 +0600 Subject: [PATCH] SAW: nil quotation does not make any sense --- lib/concierge/suppliers/saw/commands/price_fetcher.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/concierge/suppliers/saw/commands/price_fetcher.rb b/lib/concierge/suppliers/saw/commands/price_fetcher.rb index ea343f330..e871cfefa 100644 --- a/lib/concierge/suppliers/saw/commands/price_fetcher.rb +++ b/lib/concierge/suppliers/saw/commands/price_fetcher.rb @@ -46,8 +46,6 @@ def call(params) if valid_result?(result_hash) quotation = build_quotation(params, result_hash) - return Result.error(:empty_unit_rates) unless quotation - Result.new(quotation) else error_result(result_hash)