From 65b2e8c525c4d3e496c93d4379961dcddeaaa89d Mon Sep 17 00:00:00 2001 From: Yansong Zhang <916125788@qq.com> Date: Mon, 9 Mar 2026 17:44:10 +0800 Subject: [PATCH] fix lang notification --- api/controllers/console/notification.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/controllers/console/notification.py b/api/controllers/console/notification.py index 0f3517cdd9..53e4aa3d86 100644 --- a/api/controllers/console/notification.py +++ b/api/controllers/console/notification.py @@ -48,7 +48,7 @@ class NotificationApi(Resource): if not result.get("shouldShow"): return {"should_show": False, "notifications": []}, 200 - lang = current_user.interface_language + lang = current_user.interface_language or _FALLBACK_LANG notifications = [] for notification in result.get("notifications") or []: