From 0c96df528389e159e5b2ba92df97f49bad501a0e Mon Sep 17 00:00:00 2001 From: Michael Bai Date: Wed, 15 Sep 2021 19:40:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=B3=BB=E7=BB=9F=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=BA=8F=E5=88=97=E7=B1=BB=E8=BF=94=E5=9B=9Enodes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/assets/serializers/system_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/assets/serializers/system_user.py b/apps/assets/serializers/system_user.py index 8c4ebf98d..7ffe51fa0 100644 --- a/apps/assets/serializers/system_user.py +++ b/apps/assets/serializers/system_user.py @@ -38,7 +38,7 @@ class SystemUserSerializer(AuthSerializerMixin, BulkOrgResourceModelSerializer): 'username_same_with_user', 'auto_push', 'auto_generate_key', 'date_created', 'date_updated', 'comment', 'created_by', ] - fields_m2m = ['cmd_filters', 'assets_amount'] + fields_m2m = ['cmd_filters', 'assets_amount', 'nodes'] fields = fields_small + fields_m2m extra_kwargs = { 'password': {