mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-26 07:22:27 +00:00
fix: Push account failed
This commit is contained in:
@@ -22,6 +22,7 @@ class EndpointSerializer(BulkModelSerializer):
|
||||
'comment', 'date_created', 'date_updated', 'created_by'
|
||||
]
|
||||
extra_kwargs = {
|
||||
'is_active': {'default': True},
|
||||
'host': {'help_text': _(
|
||||
'The host address accessed when connecting to assets, if it is empty, '
|
||||
'the access address of the current browser will be used '
|
||||
@@ -71,5 +72,6 @@ class EndpointRuleSerializer(BulkModelSerializer):
|
||||
'comment', 'date_created', 'date_updated', 'created_by', 'is_active'
|
||||
]
|
||||
extra_kwargs = {
|
||||
'is_active': {'default': True},
|
||||
'priority': {'default': 50}
|
||||
}
|
||||
|
Reference in New Issue
Block a user