From dba86bc9800be173fdb03fe817fccb9b1a126077 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 1 Dec 2025 10:59:01 -0500 Subject: [PATCH] fix: audit --- backend/open_webui/utils/audit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/utils/audit.py b/backend/open_webui/utils/audit.py index 0cef3c91f8..dc1226a080 100644 --- a/backend/open_webui/utils/audit.py +++ b/backend/open_webui/utils/audit.py @@ -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