Unverified Commit 13822cbf authored by BaiJiangJie's avatar BaiJiangJie Committed by GitHub

Merge pull request #3334 from jumpserver/dev_su_asset

[Bugfix] 修改调用系统用户资产 API 时 Connectivity is not JSON serializable 的 Bug
parents c0d1bf8e b732f4e3
...@@ -140,6 +140,7 @@ class AssetSerializer(BulkOrgResourceModelSerializer): ...@@ -140,6 +140,7 @@ class AssetSerializer(BulkOrgResourceModelSerializer):
class AssetSimpleSerializer(serializers.ModelSerializer): class AssetSimpleSerializer(serializers.ModelSerializer):
connectivity = ConnectivitySerializer(read_only=True, label=_("Connectivity"))
class Meta: class Meta:
model = Asset model = Asset
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment