Skip to content

Commit c367ae1

Browse files
author
Jongmin Kim
committed
fix: fix type bug
Signed-off-by: Jongmin Kim <[email protected]>
1 parent 93c0815 commit c367ae1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cloudforet/console_api_v2/handler/authentication_handler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class ConsoleAPIAuthenticationHandler(SpaceONEAuthenticationHandler):
1313
def verify(self, params: dict) -> None:
1414
if token := self._get_token_from_transaction():
1515
token_info = self._extract_token_info(token)
16-
self._update_meta(token_info)
16+
if isinstance(token_info, dict):
17+
self._update_meta(token_info)
1718

1819
@staticmethod
1920
def _get_token_from_transaction() -> Union[str, None]:

0 commit comments

Comments
 (0)