Commit eabeed00 authored by Justin Zeng's avatar Justin Zeng Committed by Sean McGivern

Removed deprecated parameters-#215900

parent d0ed916b
......@@ -8,7 +8,7 @@ module VulnerabilityExports
idempotent!
def perform(_exportable_id = nil, vulnerability_export_id) # rubocop:disable Style/OptionalArguments
def perform(vulnerability_export_id)
vulnerability_export = Vulnerabilities::Export.find_by_id(vulnerability_export_id)
vulnerability_export&.destroy!
end
......
......@@ -16,7 +16,7 @@ module VulnerabilityExports
Vulnerabilities::Export.find_by_id(job['args'].last).failed!
end
def perform(_exportable_id = nil, vulnerability_export_id) # rubocop:disable Style/OptionalArguments
def perform(vulnerability_export_id)
vulnerability_export = Vulnerabilities::Export.find_by_id(vulnerability_export_id)
return unless vulnerability_export
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment