lib/hackerone/client/report.rb in hackerone-client-0.13.0 vs lib/hackerone/client/report.rb in hackerone-client-0.14.0
- old
+ new
@@ -154,10 +154,10 @@
response_body = make_post_request(
"reports/#{id}/swags",
request_body: request_body
)
- Swag.new(response_body)
+ Swag.new(response_body, program)
end
def suggest_bounty(message:, amount:, bonus_amount: nil)
request_body = {
message: message,