fix: 系统用户序列类返回nodes

pull/6876/head
Michael Bai 2021-09-15 19:40:38 +08:00 committed by Jiangjie.Bai
parent 9dda19b8d7
commit 0c96df5283
1 changed files with 1 additions and 1 deletions

View File

@ -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': {