Skip to content

Commit

Permalink
resolve: solve some problems
Browse files Browse the repository at this point in the history
  • Loading branch information
rolin999 committed Dec 28, 2024
1 parent 59055e4 commit 416316c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/bk-user/bkuser/apis/open_v3/serializers/tenant.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#
# We undertake not to change the open source license (MIT license) applicable
# to the current version of the project delivered to anyone in the future.

from django.conf import settings
from rest_framework import serializers

from bkuser.apps.tenant.constants import TenantStatus
Expand All @@ -32,7 +32,9 @@ class Meta:


class TenantUserDisplayNameListInputSLZ(serializers.Serializer):
bk_usernames = StringArrayField(help_text="蓝鲸唯一标识,多个使用逗号分隔", max_items=50)
bk_usernames = StringArrayField(
help_text="蓝鲸唯一标识,多个使用逗号分隔", max_items=settings.BK_USERNAME_BATCH_QUERY_DISPLAY_NAME_LIMIT
)


class TenantUserDisplayNameListOutputSLZ(serializers.Serializer):
Expand Down

0 comments on commit 416316c

Please sign in to comment.