perf: ConnectionTokenSerializer add org_name label (#13714)

Co-authored-by: feng <1304903146@qq.com>
pull/13716/head
fit2bot 2024-07-15 14:33:40 +08:00 committed by GitHub
parent 2d4b9ff5a8
commit ced79ea6c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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')},