Skip to content
Snippets Groups Projects
Commit 7726d33c authored by Clarissa's avatar Clarissa
Browse files

SCRUM#282: add role_ids to user return on login

parent 312c72bc
No related branches found
No related tags found
No related merge requests found
...@@ -30,5 +30,5 @@ class UserDeviseSerializer < ActiveModel::Serializer ...@@ -30,5 +30,5 @@ class UserDeviseSerializer < ActiveModel::Serializer
attributes :id, :email, :provider, :avatar_file_name, :avatar_content_type, :uid, :name, :submitter_request, :avatar_file_size, :avatar_updated_at, attributes :id, :email, :provider, :avatar_file_name, :avatar_content_type, :uid, :name, :submitter_request, :avatar_file_size, :avatar_updated_at,
:bookmarks_count, :user_category_id, :score, :follows_count, :deleted_at, :description, :likes_count, :bookmarks_count, :user_category_id, :score, :follows_count, :deleted_at, :description, :likes_count,
:learning_objects_count, :collections_count, :cover_file_name, :cover_content_type, :cover_file_size, :cover_updated_at :learning_objects_count, :collections_count, :cover_file_name, :cover_content_type, :cover_file_size, :cover_updated_at, :role_ids
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment