Skip to content

Commit 542e8a3

Browse files
committed
Remove unneeded workspace
1 parent 352cf29 commit 542e8a3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/msf/core/db_manager/loot.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ def report_loot(opts)
9797
# @param opts [Hash] Hash containing the updated values. Key should match the attribute to update. Must contain :id of record to update.
9898
# @return [Mdm::Loot] The updated Mdm::Loot object.
9999
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+
100103
::ActiveRecord::Base.connection_pool.with_connection {
101104
id = opts.delete(:id)
102105
Mdm::Loot.update(id, opts)

0 commit comments

Comments
 (0)