Skip to content

Commit

Permalink
fix(ext_mail): Fix type error
Browse files Browse the repository at this point in the history
Signed-off-by: -LAN- <[email protected]>
  • Loading branch information
laipz8200 committed Nov 29, 2024
1 parent 1ebb2c8 commit 3447d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/extensions/ext_mail.py
Original file line number Diff line number Diff line change
@@ -87,7 +87,7 @@ def send(self, to: str, subject: str, html: str, from_: Optional[str] = None):


def is_enabled() -> bool:
return dify_config.MAIL_TYPE
return dify_config.MAIL_TYPE is not None


def init_app(app: DifyApp):

0 comments on commit 3447d98

Please sign in to comment.