mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-18 16:39:28 +00:00
perf(application): 修改DoaminAPI返回application数量;修改Application数据库datbase字段required=False
This commit is contained in:
@@ -13,7 +13,7 @@ class DBAttrsSerializer(serializers.Serializer):
|
||||
host = serializers.CharField(max_length=128, label=_('Host'))
|
||||
port = serializers.IntegerField(label=_('Port'))
|
||||
database = serializers.CharField(
|
||||
max_length=128, allow_blank=True, allow_null=True, label=_('Database')
|
||||
max_length=128, required=False, allow_blank=True, allow_null=True, label=_('Database')
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user