fix bill signature

This commit is contained in:
simon lehericey 2020-12-11 15:49:05 +01:00
parent 6dd56eed68
commit 5a9cd71783
2 changed files with 13 additions and 1 deletions

View file

@ -49,7 +49,7 @@ class BillSignature < ApplicationRecord
end
def set_signature(signature, day)
signature.attach(
self.signature.attach(
io: StringIO.new(signature),
filename: "demarches-simplifiees-signature-#{day.to_date.iso8601}.der",
content_type: 'application/x-x509-ca-cert'