Skip to content

Commit

Permalink
show API が提供する情報に email を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
MikotoMakizuru committed Jan 2, 2025
1 parent fd9a4da commit 5054dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/api/users/_user.json.jbuilder
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 5054dda

Please sign in to comment.