Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
0695f08f
Unverified
Commit
0695f08f
authored
Jan 21, 2024
by
Benjamin
Committed by
GitHub
Jan 21, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: invite email template languages constant var (#2111)
parent
22ab4721
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mail_invite_member_task.py
api/tasks/mail_invite_member_task.py
+1
-1
No files found.
api/tasks/mail_invite_member_task.py
View file @
0695f08f
...
...
@@ -28,7 +28,7 @@ def send_invite_member_mail_task(language: str, to: str, token: str, inviter_nam
try
:
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'
,
to
=
to
,
inviter_name
=
inviter_name
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment