FIX: Do not downcase group name in current user serializer

This commit is contained in:
Penar Musaraj
2020-09-17 13:03:42 -04:00
parent dbdb5b9a47
commit 3d39b4bbb5
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ class CurrentUserSerializer < BasicUserSerializer
:skip_new_user_tips
def groups
object.visible_groups.pluck(:id, :name).map { |id, name| { id: id, name: name.downcase } }
object.visible_groups.pluck(:id, :name).map { |id, name| { id: id, name: name } }
end
def link_posting_access