fix: 账号备份无法执行 (#9379)

Co-authored-by: feng <1304903146@qq.com>
pull/9382/head
fit2bot 2023-01-31 16:17:45 +08:00 committed by GitHub
parent a7b744db10
commit 2ea8e30ca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class AccountBackupSerializer(PeriodTaskSerializerMixin, BulkOrgResourceModelSer
class AccountBackupPlanExecutionSerializer(serializers.ModelSerializer): class AccountBackupPlanExecutionSerializer(serializers.ModelSerializer):
trigger = LabeledChoiceField(choices=Trigger.choices, label=_("Trigger mode")) trigger = LabeledChoiceField(choices=Trigger.choices, label=_("Trigger mode"), read_only=True)
class Meta: class Meta:
model = AccountBackupExecution model = AccountBackupExecution