validate account config keys

This commit is contained in:
Pete Matsyburka committed 2024-02-29 23:59:49 +02:00
1 parent 8432bec3d6
commit c743cc689d
4 files changed
+32 -9

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ module ReplaceEmailVariables
text = text.gsub(DOCUMENTS_LINKS, build_documents_links_text(submitter, sig))
text = text.gsub(DOCUMENTS_LINK, build_documents_links_text(submitter, sig))
text = text.gsub(ACCOUNT_NAME, submitter.template.account.name) if submitter.template
text = text.gsub(ACCOUNT_NAME, submitter.account.name) if submitter.account
text
end