add in currentUser client_type
This commit is contained in:
parent
f5690366af
commit
a2c3885379
@ -18,6 +18,7 @@ class CurrentUser:
|
||||
is_bot: bool
|
||||
user_id: str
|
||||
session_id: str
|
||||
client_type: str
|
||||
permissions: List[str]
|
||||
|
||||
async def _fetch_current_user(
|
||||
@ -60,6 +61,7 @@ async def _fetch_current_user(
|
||||
is_bot=is_bot,
|
||||
user_id=data["user_id"],
|
||||
session_id=data["session_id"],
|
||||
client_type=data["client_type"],
|
||||
permissions=data["permissions"]
|
||||
)
|
||||
|
||||
@ -129,6 +131,7 @@ async def fetch_user_for_sio(
|
||||
is_bot=is_bot,
|
||||
user_id=data["user_id"],
|
||||
session_id=data["session_id"],
|
||||
client_type=data["client_type"],
|
||||
permissions=data["permissions"]
|
||||
)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user