mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac
This commit is contained in:
parent
74172461c7
commit
e4fc2e0e51
1 changed files with 5 additions and 2 deletions
|
|
@ -325,7 +325,7 @@ def get_event_emitter(request_info):
|
||||||
|
|
||||||
|
|
||||||
def get_event_call(request_info):
|
def get_event_call(request_info):
|
||||||
async def __event_call__(event_data):
|
async def __event_caller__(event_data):
|
||||||
response = await sio.call(
|
response = await sio.call(
|
||||||
"chat-events",
|
"chat-events",
|
||||||
{
|
{
|
||||||
|
|
@ -337,7 +337,10 @@ def get_event_call(request_info):
|
||||||
)
|
)
|
||||||
return response
|
return response
|
||||||
|
|
||||||
return __event_call__
|
return __event_caller__
|
||||||
|
|
||||||
|
|
||||||
|
get_event_caller = get_event_call
|
||||||
|
|
||||||
|
|
||||||
def get_user_id_from_session_pool(sid):
|
def get_user_id_from_session_pool(sid):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue