Skip to content

Commit eba3d2c

Browse files
authored
Merge pull request #109 from samson0v/master
Fixed get_user_token method
2 parents 0066e0f + ba22a31 commit eba3d2c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tb_rest_client/api/api_ce/user_controller_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ def get_user_token_using_get(self, user_id, **kwargs): # noqa: E501
573573
574574
:param async_req bool
575575
:param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
576-
:return: JWTTokenPair
576+
:return: JWTPair
577577
If the method is called asynchronously,
578578
returns the request thread.
579579
"""
@@ -595,7 +595,7 @@ def get_user_token_using_get_with_http_info(self, user_id, **kwargs): # noqa: E
595595
596596
:param async_req bool
597597
:param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
598-
:return: JWTTokenPair
598+
:return: JWTPair
599599
If the method is called asynchronously,
600600
returns the request thread.
601601
"""
@@ -649,7 +649,7 @@ def get_user_token_using_get_with_http_info(self, user_id, **kwargs): # noqa: E
649649
body=body_params,
650650
post_params=form_params,
651651
files=local_var_files,
652-
response_type='JWTTokenPair', # noqa: E501
652+
response_type='JWTPair', # noqa: E501
653653
auth_settings=auth_settings,
654654
async_req=params.get('async_req'),
655655
_return_http_data_only=params.get('_return_http_data_only'),

tb_rest_client/api/api_pe/user_controller_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ def get_user_token_using_get_with_http_info(self, user_id, **kwargs): # noqa: E
765765
body=body_params,
766766
post_params=form_params,
767767
files=local_var_files,
768-
response_type='JWTTokenPair', # noqa: E501
768+
response_type='JWTPair', # noqa: E501
769769
auth_settings=auth_settings,
770770
async_req=params.get('async_req'),
771771
_return_http_data_only=params.get('_return_http_data_only'),

0 commit comments

Comments
 (0)