mirror of https://github.com/jumpserver/jumpserver
fix: 修复导出系统用户资产列表时包含org_id字段
parent
e63d0dcd9e
commit
18509a0ca4
|
@ -251,7 +251,7 @@ class SystemUserAssetRelationSerializer(RelationMixin, serializers.ModelSerializ
|
|||
model = SystemUser.assets.through
|
||||
fields = [
|
||||
"id", "asset", "asset_display", 'systemuser', 'systemuser_display',
|
||||
"connectivity", 'date_verified',
|
||||
"connectivity", 'date_verified', 'org_id'
|
||||
]
|
||||
use_model_bulk_create = True
|
||||
model_bulk_create_kwargs = {
|
||||
|
|
Loading…
Reference in New Issue