fix
This commit is contained in:
parent
e72749a150
commit
e0ad06a87c
@ -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:
|
||||||
|
|||||||
@ -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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user