fix: 改密推送没有更新版本 (#13044)

Co-authored-by: feng <1304903146@qq.com>
pull/13045/head
fit2bot 2024-04-17 16:14:40 +08:00 committed by GitHub
parent ac988a76b4
commit cade2cfa13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 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', 'date_updated'])
account.save(update_fields=['secret', 'version', 'date_updated'])
break
except Exception as e:
retry_count += 1