mirror of https://github.com/jumpserver/jumpserver
fix: 解决访问api-docs失败的问题
parent
a69ab682a0
commit
628b14133d
|
@ -25,6 +25,7 @@ class AccountSerializer(AuthSerializerMixin, BulkOrgResourceModelSerializer):
|
||||||
'private_key': {'write_only': True},
|
'private_key': {'write_only': True},
|
||||||
'public_key': {'write_only': True},
|
'public_key': {'write_only': True},
|
||||||
}
|
}
|
||||||
|
ref_name = 'AssetAccountSerializer'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def setup_eager_loading(cls, queryset):
|
def setup_eager_loading(cls, queryset):
|
||||||
|
|
Loading…
Reference in New Issue