This commit is contained in:
cheykrym 2026-04-06 03:50:37 +03:00
parent e72749a150
commit e0ad06a87c
2 changed files with 3 additions and 1 deletions

View File

@ -79,6 +79,7 @@ async def fetch_user_for_sio(
token: str, token: str,
ip: str, ip: str,
user_agent: str, user_agent: str,
is_web: bool,
require_permissions: bool = False, require_permissions: bool = False,
is_bot: bool = False is_bot: bool = False
) -> CurrentUser: ) -> CurrentUser:
@ -94,6 +95,7 @@ async def fetch_user_for_sio(
"user_agent": user_agent, "user_agent": user_agent,
"require_permissions": require_permissions, "require_permissions": require_permissions,
"is_bot": is_bot, "is_bot": is_bot,
"is_web": is_web
}, },
) )
except httpx.RequestError as e: except httpx.RequestError as e:

View File

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