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

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot
2023-01-31 16:17:45 +08:00
committed by GitHub
parent a7b744db10
commit 2ea8e30ca5

View File

@@ -36,7 +36,7 @@ class AccountBackupSerializer(PeriodTaskSerializerMixin, BulkOrgResourceModelSer
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:
model = AccountBackupExecution