Skip to content

Commit

Permalink
SAW: nil quotation does not make any sense
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharipov Ruslan committed Sep 20, 2016
1 parent cc81f15 commit 78336bb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/concierge/suppliers/saw/commands/price_fetcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 78336bb

Please sign in to comment.