Skip to content

Commit

Permalink
fix random thing
Browse files Browse the repository at this point in the history
  • Loading branch information
pennja committed Sep 12, 2024
1 parent 1719e84 commit 0804f91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def fetch_submission_pdf
end

def submission_pdf_filename
@submission_pdf_filename ||= "form_#{submission.form_data['form_number']}.pdf"
@submission_pdf_filename ||= "form_#{JSON.parse(submission.form_data)['form_number']}.pdf"
end

def sign_s3_file_url(pdf)
Expand Down

0 comments on commit 0804f91

Please sign in to comment.