From 2aa7f4dd4c6a88f1568a40088543b26706260315 Mon Sep 17 00:00:00 2001 From: MikotoMakizuru Date: Thu, 2 Jan 2025 22:33:55 +0900 Subject: [PATCH] =?UTF-8?q?show=20API=20=E3=81=8C=E6=8F=90=E4=BE=9B?= =?UTF-8?q?=E3=81=99=E3=82=8B=E6=83=85=E5=A0=B1=E3=81=AB=20email=20?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/api/users/_user.json.jbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/api/users/_user.json.jbuilder b/app/views/api/users/_user.json.jbuilder index e997bb6fc39..952e6c4d6eb 100644 --- a/app/views/api/users/_user.json.jbuilder +++ b/app/views/api/users/_user.json.jbuilder @@ -1,4 +1,4 @@ -columns = %i(id login_name long_name url roles primary_role icon_title) +columns = %i(id login_name email long_name url roles primary_role icon_title) columns << :mentor_memo if admin_or_mentor_login? json.(user, *columns) json.avatar_url user.avatar_url