Skip to content

Commit

Permalink
fix(): mailer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
CarloGauss33 committed Sep 28, 2023
1 parent b20b520 commit 89aee6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/mailers/assignment_response_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def notify_user_response(assignment_response)
return if assignment_response.blank?

assignment_response.assignment_question_responses.each do |response|
attachments[response.file.original_filename] = response.file.download
attachments[response.file.original_filename] = response.file.read
end

mail(
Expand Down

0 comments on commit 89aee6e

Please sign in to comment.