Browse Source

Fix function's name mismatch (#16681)

Yongtao Huang 1 month ago
parent
commit
43753c8e9a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      api/schedule/mail_clean_document_notify_task.py

+ 2 - 2
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