Skip to content

Commit

Permalink
Merge pull request #24 from Mahad-10/python-fix-hello-authid-authmethods
Browse files Browse the repository at this point in the history
python: fix authid & authmethods in Hello
  • Loading branch information
Mahad-10 authored Jul 3, 2024
2 parents e9a1025 + 03ca9bb commit 32dfdfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/wampprotobuf/parsers/hello.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ def roles(self) -> dict[str, Any]:

@property
def authid(self) -> str:
return self._msg.authid
return self._msg.auth_id

@property
def authrole(self) -> str:
return ""

@property
def authmethods(self) -> list[str]:
return self._msg.authmethod
return []

@property
def authextra(self) -> dict:
Expand Down

0 comments on commit 32dfdfa

Please sign in to comment.