mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
count segments
This commit is contained in:
1 parent
f40f1d25de
commit
ea2b7f20e7
1 file changed
+1
-1
@@ -49,7 +49,7 @@ class ProcessSubmitterCompletionJob
|
||||
account_id: submission.account_id,
|
||||
template_id: submission.template_id,
|
||||
source: submission.source,
|
||||
sms_count: sms_events.size,
|
||||
sms_count: sms_events.sum { |e| e.data['segments'] || 1 },
|
||||
verification_method: complete_verification_event&.data&.dig('method'),
|
||||
completed_at: submitter.completed_at
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user