mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
include idcode
This commit is contained in:
1 parent
91814ca105
commit
968c07f8be
1 file changed
+1
-1
@@ -55,7 +55,7 @@ module Submitters
|
||||
def serialize_events(events)
|
||||
events.map do |event|
|
||||
event.as_json(only: %i[id submitter_id event_type event_timestamp])
|
||||
.merge('data' => event.data.slice('reason', 'firstname', 'lastname', 'method', 'country'))
|
||||
.merge('data' => event.data.slice('reason', 'firstname', 'lastname', 'method', 'country', 'idcode'))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user