fix: Solve the problem of version increase caused by push account

This commit is contained in:
jiangweidong
2024-12-04 08:50:36 +08:00
committed by Bryan
parent 3267c8074b
commit d8dfaf0868
3 changed files with 5 additions and 1 deletions

View File

@@ -180,7 +180,7 @@ class ChangeSecretManager(AccountBasePlaybookManager):
while retry_count < max_retries:
try:
recorder.save()
account.save(update_fields=['secret', 'version', 'date_updated'])
account.save(update_fields=['secret', 'date_updated'])
break
except Exception as e:
retry_count += 1