fix: 修复更新授权报错的问题

pull/9974/head
Bai 2 years ago committed by Jiangjie.Bai
parent 0ade034391
commit 894955dd68

@ -39,7 +39,7 @@ class AssetPermissionSerializer(BulkOrgResourceModelSerializer):
is_expired = serializers.BooleanField(read_only=True, label=_("Is expired"))
accounts = serializers.ListField(label=_("Account"), required=False)
template_accounts: QuerySet
template_accounts = AccountTemplate.objects.none()
class Meta:
model = AssetPermission

Loading…
Cancel
Save