mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
fix webhook serializer
This commit is contained in:
1 parent
99b33d4165
commit
01d752e811
1 file changed
+2
-2
@@ -24,8 +24,8 @@ module Submitters
|
||||
end
|
||||
|
||||
def build_values_array(submitter)
|
||||
fields_index = (submitter.submission.template_fields ||
|
||||
submitter.submission.template.fields).index_by { |e| e['uuid'] }
|
||||
fields_index = (submitter.submission.template.fields +
|
||||
submitter.submission.template_fields.to_a).index_by { |e| e['uuid'] }
|
||||
attachments_index = submitter.attachments.index_by(&:uuid)
|
||||
submitter_field_counters = Hash.new { 0 }
|
||||
|
||||
|
||||
Reference in new issue
Block a user