perf: 平台协议API返回public字段

pull/10425/head
Bai 2023-05-10 15:34:36 +08:00 committed by Jiangjie.Bai
parent 90cc2a2519
commit 24fd87f7bc
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class PlatformProtocolSerializer(serializers.ModelSerializer):
model = PlatformProtocol
fields = [
"id", "name", "port", "primary",
"required", "default",
"required", "default", "public",
"secret_types", "setting",
]