Compare commits

..

2 Commits

Author SHA1 Message Date
3fb959a2e9 add in currentUser client_type 2026-03-26 04:26:46 +03:00
a2c3885379 add in currentUser client_type 2026-03-26 04:22:09 +03:00
2 changed files with 4 additions and 1 deletions

View File

@ -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"]
)

View File

@ -1,6 +1,6 @@
[project]
name = "common-lib"
version = "0.0.44"
version = "0.0.45"
description = "Библиотека общих компонентов для микросервисов yobble"
authors = [{ name = "cheykrym", email = "you@example.com" }]
license = "MIT"