mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
fix: audit
This commit is contained in:
parent
21f3411692
commit
dba86bc980
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ class AuditLoggingMiddleware:
|
|||
auth_header = request.headers.get("Authorization")
|
||||
|
||||
try:
|
||||
user = get_current_user(
|
||||
user = await get_current_user(
|
||||
request, None, None, get_http_authorization_cred(auth_header)
|
||||
)
|
||||
return user
|
||||
|
|
|
|||
Loading…
Reference in a new issue