mirror of
https://github.com/docusealco/docuseal
synced 2026-11-08 07:42:32 -05:00
add started and viewed webhook events
This commit is contained in:
1 parent
9d9e134bb4
commit
3faec9d174
9 files changed
+57
-8
No files matched your search
@@ -18,7 +18,8 @@ module Submitters
|
||||
end
|
||||
|
||||
def build_values_array(submitter)
|
||||
fields_index = submitter.submission.template_fields.index_by { |e| e['uuid'] }
|
||||
fields_index = (submitter.submission.template_fields ||
|
||||
submitter.submission.template.fields).index_by { |e| e['uuid'] }
|
||||
attachments_index = submitter.attachments.preload(:blob).index_by(&:uuid)
|
||||
submitter_field_counters = Hash.new { 0 }
|
||||
|
||||
|
||||
Reference in new issue
Block a user