fix: custom email message for self-signers
This commit is contained in:
@@ -110,7 +110,7 @@ export const resendDocument = async ({
|
|||||||
assetBaseUrl,
|
assetBaseUrl,
|
||||||
signDocumentLink,
|
signDocumentLink,
|
||||||
customBody: renderCustomEmailTemplate(
|
customBody: renderCustomEmailTemplate(
|
||||||
selfSigner ? selfSignerCustomEmail : customEmail?.message || '',
|
selfSigner && !customEmail?.message ? selfSignerCustomEmail : customEmail?.message || '',
|
||||||
customEmailTemplate,
|
customEmailTemplate,
|
||||||
),
|
),
|
||||||
role: recipient.role,
|
role: recipient.role,
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ export const sendDocument = async ({
|
|||||||
assetBaseUrl,
|
assetBaseUrl,
|
||||||
signDocumentLink,
|
signDocumentLink,
|
||||||
customBody: renderCustomEmailTemplate(
|
customBody: renderCustomEmailTemplate(
|
||||||
selfSigner ? selfSignerCustomEmail : customEmail?.message || '',
|
selfSigner && !customEmail?.message ? selfSignerCustomEmail : customEmail?.message || '',
|
||||||
customEmailTemplate,
|
customEmailTemplate,
|
||||||
),
|
),
|
||||||
role: recipient.role,
|
role: recipient.role,
|
||||||
|
|||||||
Reference in New Issue
Block a user