Fix the kwargs params of schedule task (#747)

This commit is contained in:
Wu Clan
2025-08-04 13:15:48 +08:00
committed by GitHub
parent 0dd745b7a7
commit 1e4aa88487

View File

@@ -18,7 +18,7 @@ LOCAL_BEAT_SCHEDULE = {
'task': 'task_demo_params',
'schedule': TzAwareCrontab('1'),
'args': ['你好,'],
'kwargs': {'b': '世界'},
'kwargs': {'world': '世界'},
},
'清理操作日志': {
'task': 'backend.app.task.tasks.db_log.tasks.delete_db_opera_log',