Skip to content

Commit e964e8b

Browse files
committed
Fix incorrect HTTP request method calls
1 parent f895169 commit e964e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/metasploit/framework/data_service/remote/http/remote_loot_data_service.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def report_loot(opts)
2424
end
2525

2626
def find_or_create_loot(opts)
27-
json_to_mdm_object(self.get_data(LOOT_API_PATH, opts), LOOT_MDM_CLASS, [])
27+
json_to_mdm_object(self.post_data(LOOT_API_PATH, opts), LOOT_MDM_CLASS, [])
2828
end
2929

3030
def report_loots(loot)

0 commit comments

Comments
 (0)