From 894955dd68489e02fc09a3551f8aa01d159144aa Mon Sep 17 00:00:00 2001 From: Bai Date: Wed, 15 Mar 2023 16:26:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=8E=88=E6=9D=83=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/perms/serializers/permission.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/perms/serializers/permission.py b/apps/perms/serializers/permission.py index 3bf314f44..27bc90d89 100644 --- a/apps/perms/serializers/permission.py +++ b/apps/perms/serializers/permission.py @@ -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