Skip to content

Commit

Permalink
send knowledge base auto disable notification
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnJyong committed Dec 26, 2024
1 parent dc40069 commit a564c78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/schedule/mail_clean_document_notify_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ def send_document_clean_notify_task():
knowledge_details=knowledge_details,
url=url,
)
mail.send(to=account.email, subject="Dify Knowledge base auto disable notification", html=html_content)
mail.send(
to=account.email, subject="Dify Knowledge base auto disable notification", html=html_content
)

# update notified to True
for dataset_auto_disable_log in tenant_dataset_auto_disable_logs:
Expand Down

0 comments on commit a564c78

Please sign in to comment.