FIX: Serialize flair group ID for preferences page (#13741)
Staff viewing the user preferences page of other users did not see the selected flair because that information was not serialized for them.
This commit is contained in:
parent
4cb65675c6
commit
3d387d7891
|
@ -59,6 +59,7 @@ class UserCardSerializer < BasicUserSerializer
|
|||
:recent_time_read,
|
||||
:primary_group_id,
|
||||
:primary_group_name,
|
||||
:flair_group_id,
|
||||
:flair_name,
|
||||
:flair_url,
|
||||
:flair_bg_color,
|
||||
|
|
|
@ -42,6 +42,7 @@ RSpec.describe WebHookUserSerializer do
|
|||
:recent_time_read,
|
||||
:primary_group_id,
|
||||
:primary_group_name,
|
||||
:flair_group_id,
|
||||
:flair_name,
|
||||
:flair_url,
|
||||
:flair_bg_color,
|
||||
|
|
Loading…
Reference in New Issue