fix: 解决Activity保存因为参数出错问题

This commit is contained in:
jiangweidong
2023-02-24 17:59:32 +08:00
parent 9895ae73bc
commit 824e4c9e81
8 changed files with 25 additions and 19 deletions

View File

@@ -9,7 +9,7 @@ from orgs.utils import tmp_to_org, tmp_to_root_org
logger = get_logger(__file__)
def task_activity_callback(self, pid, trigger):
def task_activity_callback(self, pid, trigger, *args, **kwargs):
from accounts.models import AccountBackupAutomation
with tmp_to_root_org():
plan = get_object_or_none(AccountBackupAutomation, pk=pid)