mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-07-27 21:32:00 +08:00
fix: invite email template languages constant var (#2111)
This commit is contained in:
parent
22ab4721e2
commit
0695f08f05
@ -28,7 +28,7 @@ def send_invite_member_mail_task(language: str, to: str, token: str, inviter_nam
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
url = f'{current_app.config.get("CONSOLE_WEB_URL")}/activate?token={token}'
|
url = f'{current_app.config.get("CONSOLE_WEB_URL")}/activate?token={token}'
|
||||||
if language == 'zh-CN':
|
if language == 'zh-Hans':
|
||||||
html_content = render_template('invite_member_mail_template_zh-CN.html',
|
html_content = render_template('invite_member_mail_template_zh-CN.html',
|
||||||
to=to,
|
to=to,
|
||||||
inviter_name=inviter_name,
|
inviter_name=inviter_name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user