Skip to content

Commit

Permalink
Merge pull request #116 from whdalsrnt/master
Browse files Browse the repository at this point in the history
fix: fix type bug
  • Loading branch information
whdalsrnt authored Dec 23, 2024
2 parents 93c0815 + c367ae1 commit 8e9cdd4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ class ConsoleAPIAuthenticationHandler(SpaceONEAuthenticationHandler):
def verify(self, params: dict) -> None:
if token := self._get_token_from_transaction():
token_info = self._extract_token_info(token)
self._update_meta(token_info)
if isinstance(token_info, dict):
self._update_meta(token_info)

@staticmethod
def _get_token_from_transaction() -> Union[str, None]:
Expand Down

0 comments on commit 8e9cdd4

Please sign in to comment.