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] || {},
+1 -1
View File
@@ -18,7 +18,7 @@ module Submitters
serialize_params = {
include: {},
only: %i[id slug uuid name email phone completed_at
only: %i[id slug uuid name email phone completed_at application_key
opened_at sent_at created_at updated_at]
}