fix: Push account failed

This commit is contained in:
feng
2025-09-15 13:43:00 +08:00
committed by ZhaoJiSen
parent 863fe95100
commit 023952582e
4 changed files with 8 additions and 8 deletions

View File

@@ -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}
}