We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 352cf29 commit 542e8a3Copy full SHA for 542e8a3
lib/msf/core/db_manager/loot.rb
@@ -97,6 +97,9 @@ def report_loot(opts)
97
# @param opts [Hash] Hash containing the updated values. Key should match the attribute to update. Must contain :id of record to update.
98
# @return [Mdm::Loot] The updated Mdm::Loot object.
99
def update_loot(opts)
100
+ # TODO: remove unneeded workspace from opts until it's not automatically added to remote requests
101
+ opts.delete(:workspace)
102
+
103
::ActiveRecord::Base.connection_pool.with_connection {
104
id = opts.delete(:id)
105
Mdm::Loot.update(id, opts)
0 commit comments