fix: 账号备份参数控制

pull/11319/head
Bai 2023-08-17 14:49:12 +08:00 committed by Bryan
parent c0f3769f9f
commit 7b89055fbf
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ def task_activity_callback(self, pid, trigger, *args, **kwargs):
@shared_task(verbose_name=_('Execute account backup plan'), activity_callback=task_activity_callback)
def execute_account_backup_task(pid, trigger):
def execute_account_backup_task(pid, trigger, **kwargs):
from accounts.models import AccountBackupAutomation
with tmp_to_root_org():
plan = get_object_or_none(AccountBackupAutomation, pk=pid)