validate account config keys

This commit is contained in:
Pete Matsyburka
2024-02-29 23:59:49 +02:00
parent 8432bec3d6
commit c743cc689d
4 changed files with 32 additions and 9 deletions
+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