Update api/extensions/ext_mail.py

pull/21011/head
crazywoola 11 months ago committed by GitHub
parent ff10867621
commit 23b6f638b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -58,7 +58,7 @@ class Mail:
from libs.sendgrid import SendGridClient
if not dify_config.SENDGRID_API_KEY:
raise ValueError("SENDGRID_API_KEY are required for SendGrid mail type")
raise ValueError("SENDGRID_API_KEY is required for SendGrid mail type")
self._client = SendGridClient(
sendgrid_api_key=dify_config.SENDGRID_API_KEY, _from=dify_config.MAIL_DEFAULT_SEND_FROM or ""

Loading…
Cancel
Save