Skip to content

Commit

Permalink
fix:更新数据源用户-LOGO字段非必填 (#1214)
Browse files Browse the repository at this point in the history
  • Loading branch information
Canway-shiisa authored Sep 4, 2023
1 parent 34c1202 commit fa9435a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bk-user/bkuser/apis/web/data_source/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit fa9435a

Please sign in to comment.