refactor
This commit is contained in:
@@ -19,7 +19,7 @@ module Submitters
|
|||||||
return existing_attachment if existing_attachment
|
return existing_attachment if existing_attachment
|
||||||
|
|
||||||
attachment =
|
attachment =
|
||||||
submitter.attachments_attachments.find_or_create_by!(blob_id: signature_attachment.blob_id)
|
submitter.attachments_attachments.create_or_find_by!(blob_id: signature_attachment.blob_id)
|
||||||
|
|
||||||
attachments_index[attachment.uuid] = attachment
|
attachments_index[attachment.uuid] = attachment
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user