mirror of
https://github.com/open-webui/open-webui.git
synced 2025-10-11 05:13:06 +02:00
enh: webhook notification
This commit is contained in:
@@ -249,3 +249,9 @@ def get_event_call(request_info):
|
||||
return response
|
||||
|
||||
return __event_call__
|
||||
|
||||
|
||||
def get_user_id_from_session_pool(sid):
|
||||
print("get_user_id_from_session_pool", sid)
|
||||
print(SESSION_POOL.get(sid))
|
||||
return SESSION_POOL.get(sid)
|
||||
|
Reference in New Issue
Block a user