From fa9435a2d221e1366bc19f21d5d30d3986be4f09 Mon Sep 17 00:00:00 2001 From: Canway-shiisa <90179140+Canway-shiisa@users.noreply.github.com> Date: Mon, 4 Sep 2023 19:42:49 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E6=9B=B4=E6=96=B0=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=BA=90=E7=94=A8=E6=88=B7-LOGO=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E9=9D=9E=E5=BF=85=E5=A1=AB=20(#1214)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bk-user/bkuser/apis/web/data_source/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bk-user/bkuser/apis/web/data_source/serializers.py b/src/bk-user/bkuser/apis/web/data_source/serializers.py index bfa9bf323..890ff4528 100644 --- a/src/bk-user/bkuser/apis/web/data_source/serializers.py +++ b/src/bk-user/bkuser/apis/web/data_source/serializers.py @@ -154,7 +154,7 @@ class UserUpdateInputSLZ(serializers.Serializer): email = serializers.CharField(help_text="邮箱") phone_country_code = serializers.CharField(help_text="手机国际区号") phone = serializers.CharField(help_text="手机号") - logo = serializers.CharField(help_text="用户 Logo", allow_blank=True) + logo = serializers.CharField(help_text="用户 Logo", allow_blank=True, required=False, default="") department_ids = serializers.ListField(help_text="部门ID列表", child=serializers.IntegerField()) leader_ids = serializers.ListField(help_text="上级ID列表", child=serializers.IntegerField())