lib/hackerone/client/report.rb in hackerone-client-0.22.1 vs lib/hackerone/client/report.rb in hackerone-client-0.23.0

- old
+ new

@@ -106,10 +106,10 @@ def payment_total payments.reduce(0) { |total, payment| total + payment_amount(payment) } end def structured_scope - StructuredScope.new(relationships[:structured_scope].fetch(:data, {})) + StructuredScope.new(relationships[:structured_scope].fetch(:data, {}), program) end # Excludes reports where the payout amount is 0 indicating swag-only or no # payout for the issue supplied def risk