Browse Source

fix: 账号推送定时任务不执行 (#11482)

Co-authored-by: feng <1304903146@qq.com>
pull/11483/head
fit2bot 1 year ago committed by GitHub
parent
commit
578f66d5e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      apps/accounts/models/automations/push_account.py

3
apps/accounts/models/automations/push_account.py

@ -30,9 +30,6 @@ class PushAccountAutomation(ChangeSecretMixin, AccountBaseAutomation):
] ]
Account.objects.bulk_create(create_account_objs) Account.objects.bulk_create(create_account_objs)
def set_period_schedule(self):
pass
@property @property
def dynamic_username(self): def dynamic_username(self):
return self.username == '@USER' return self.username == '@USER'

Loading…
Cancel
Save