Compare commits

..

No commits in common. "a014acd35d062ec5dc0f8b1b8d9806d26fd124d9" and "bd72fc447679660251d8aff67bbacbec4fc43563" have entirely different histories.

2 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,7 @@ auth_scheme = HTTPBearer()
@dataclass @dataclass
class CurrentUser: class CurrentUser:
token: str token: str
is_bot: str
user_id: str user_id: str
session_id: str session_id: str
permissions: List[str] permissions: List[str]
@ -124,6 +125,7 @@ async def fetch_user_for_sio(
return CurrentUser( return CurrentUser(
token=token, token=token,
is_bot=data["is_bot"],
user_id=data["user_id"], user_id=data["user_id"],
session_id=data["session_id"], session_id=data["session_id"],
permissions=data["permissions"] permissions=data["permissions"]

View File

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