Skip to content

Commit 3f228d8

Browse files
committed
Fix the kwargs params of schedule task
1 parent 0dd745b commit 3f228d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/app/task/tasks/beat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
'task': 'task_demo_params',
1919
'schedule': TzAwareCrontab('1'),
2020
'args': ['你好,'],
21-
'kwargs': {'b': '世界'},
21+
'kwargs': {'world': '世界'},
2222
},
2323
'清理操作日志': {
2424
'task': 'backend.app.task.tasks.db_log.tasks.delete_db_opera_log',

0 commit comments

Comments
 (0)