From cade2cfa1389ee918aa9f5a302a46bc6ca3df0a8 Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Wed, 17 Apr 2024 16:14:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=94=B9=E5=AF=86=E6=8E=A8=E9=80=81?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC=20(#1304?= =?UTF-8?q?4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: feng <1304903146@qq.com> --- apps/accounts/automations/change_secret/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/accounts/automations/change_secret/manager.py b/apps/accounts/automations/change_secret/manager.py index 644bec384..f08d01584 100644 --- a/apps/accounts/automations/change_secret/manager.py +++ b/apps/accounts/automations/change_secret/manager.py @@ -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