mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-11 19:12:35 +00:00
fix: 修复 favorite-assets Serializer 缺少 protocols 字段的问题
This commit is contained in:
parent
436cb7b6e1
commit
d543c3efe7
@ -30,7 +30,7 @@ class AssetGrantedSerializer(serializers.ModelSerializer):
|
|||||||
'domain', 'platform',
|
'domain', 'platform',
|
||||||
"comment", "org_id", "is_active",
|
"comment", "org_id", "is_active",
|
||||||
]
|
]
|
||||||
fields = only_fields + ['category', 'type'] + ['org_name']
|
fields = only_fields + ['protocols', 'category', 'type'] + ['org_name']
|
||||||
read_only_fields = fields
|
read_only_fields = fields
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user