Skip to content

Commit

Permalink
Replace deprecated update_attributes to update in data_export_worker
Browse files Browse the repository at this point in the history
  • Loading branch information
yuenmichelle1 committed Jan 22, 2025
1 parent 3b36629 commit 1657f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/workers/concerns/data_export_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def process_data
uploader.upload
url = uploader.url
data_request.notify_user message: "Your data export of #{ name } is ready", url: url
data_request.update_attributes url: url
data_request.update url: url
::File.unlink gzip_file
end

Expand Down

0 comments on commit 1657f2d

Please sign in to comment.