bin/pwn_bdba_groups in pwn-0.4.746 vs bin/pwn_bdba_groups in pwn-0.4.747
- old
+ new
@@ -49,10 +49,10 @@
if parent_group_name
groups_resp = PWN::Plugins::BlackDuckBinaryAnalysis.get_groups(
token: token
)
- parent_id = groups_resp[:data].find { |g| g[:name] == parent_group_name }[:id]
+ parent_id = groups_resp[:groups].find { |g| g[:name] == parent_group_name }[:id]
end
PWN::Plugins::BlackDuckBinaryAnalysis.create_group(
token: token,
name: group_name,