From ced79ea6c97ecdbcb9cb3e761455f6f8724718f2 Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Mon, 15 Jul 2024 14:33:40 +0800 Subject: [PATCH] perf: ConnectionTokenSerializer add org_name label (#13714) Co-authored-by: feng <1304903146@qq.com> --- apps/authentication/serializers/connection_token.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/authentication/serializers/connection_token.py b/apps/authentication/serializers/connection_token.py index 4579e73ee..d9a0d6780 100644 --- a/apps/authentication/serializers/connection_token.py +++ b/apps/authentication/serializers/connection_token.py @@ -37,6 +37,7 @@ class ConnectionTokenSerializer(CommonModelSerializer): ] fields = fields_small + read_only_fields extra_kwargs = { + 'org_name': {'label': _('Org name')}, 'from_ticket': {'read_only': True}, 'value': {'read_only': True}, 'is_expired': {'read_only': True, 'label': _('Is expired')},