mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 23:12:33 -05:00
adjust signature prefill
This commit is contained in:
1 parent
11c48a495f
commit
04295f4540
4 files changed
+31
-40
No files matched your search
@@ -43,14 +43,6 @@ module Submitters
|
||||
record: submitter
|
||||
)
|
||||
|
||||
attachment.uuid
|
||||
elsif field['type'] == 'signature' && (signature = UserConfigs.load_signature(user))
|
||||
attachment = ActiveStorage::Attachment.find_or_create_by!(
|
||||
blob_id: signature.blob_id,
|
||||
name: 'attachments',
|
||||
record: submitter
|
||||
)
|
||||
|
||||
attachment.uuid
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user