mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 07:22:32 -05:00
extract email assets
This commit is contained in:
1 parent
065dcf6f9f
commit
6ed5b5d35d
8 files changed
+127
-6
No files matched your search
@@ -16,7 +16,7 @@ class SubmitterMailer < ApplicationMailer
|
||||
|
||||
template_submitters_index = @email_message.blank? ? build_submitter_preferences_index(@submitter) : {}
|
||||
|
||||
@body = @email_message&.body.presence ||
|
||||
@body = @email_message&.normalized_body.presence ||
|
||||
template_submitters_index.dig(@submitter.uuid, 'request_email_body').presence ||
|
||||
@submitter.template&.preferences&.dig('request_email_body').presence
|
||||
|
||||
|
||||
Reference in new issue
Block a user