Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Fix function's name mismatch (#16681)

Yongtao Huang43753c8e9a61
diff --git a/api/schedule/mail_clean_document_notify_task.py b/api/schedule/mail_clean_document_notify_task.py
index fe6839288d8..b3d0e097841 100644
--- a/api/schedule/mail_clean_document_notify_task.py
+++ b/api/schedule/mail_clean_document_notify_task.py
@@ -15,11 +15,11 @@ from services.feature_service import FeatureService
@app.celery.task(queue="dataset")
-def send_document_clean_notify_task():
+def mail_clean_document_notify_task():
"""
Async Send document clean notify mail
- Usage: send_document_clean_notify_task.delay()
+ Usage: mail_clean_document_notify_task.delay()
"""
if not mail.is_inited():
return