add application key to submitters

This commit is contained in:
DocuSeal
2023-10-18 02:14:44 +03:00
parent aee55165c5
commit 9e87a0373f
8 changed files with 50 additions and 19 deletions
@@ -92,6 +92,7 @@ module Submissions
email:,
phone: attrs[:phone].to_s.gsub(/[^0-9+]/, ''),
name: attrs[:name],
application_key: attrs[:application_key],
completed_at: attrs[:completed] ? Time.current : nil,
sent_at: mark_as_sent && email.present? && is_order_sent ? Time.current : nil,
values: attrs[:values] || {},