assign default values on api complete
This commit is contained in:
@@ -96,8 +96,10 @@ module Submitters
|
||||
|
||||
if field['type'] == 'stamp'
|
||||
acc[field['uuid']] ||=
|
||||
Submitters::CreateStampAttachment.call(submitter,
|
||||
with_logo: field.dig('preferences', 'with_logo') != false).uuid
|
||||
Submitters::CreateStampAttachment.build_attachment(
|
||||
submitter,
|
||||
with_logo: field.dig('preferences', 'with_logo') != false
|
||||
).uuid
|
||||
|
||||
next
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user