From dc01e7d33ac44c46f4fa101939c7938d987cbb35 Mon Sep 17 00:00:00 2001 From: yystopf Date: Fri, 7 Nov 2025 08:34:43 +0800 Subject: [PATCH] =?UTF-8?q?fixed:=20=E5=BD=93warning=5Fuser=5Fids=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/api/v1/users_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/v1/users_controller.rb b/app/controllers/api/v1/users_controller.rb index 26f24129a..9632fdfc1 100644 --- a/app/controllers/api/v1/users_controller.rb +++ b/app/controllers/api/v1/users_controller.rb @@ -5,7 +5,7 @@ class Api::V1::UsersController < Api::V1::BaseController before_action :check_auth_for_observe_user, except: [:check_user_id, :check_user_login, :warning_user_ids] def warning_user_ids - warning_user_ids = EduSetting.get("warning_user_ids") + warning_user_ids = EduSetting.get("warning_user_ids") || "" render_ok({data: warning_user_ids.split(",")}) end