Skip to content

Commit d95ef2b

Browse files
committed
refactor: update user instance serialization in user_group.py for improved clarity
1 parent b17ad76 commit d95ef2b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

apps/users/serializers/user_group.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ def page(self, current_page, page_size):
240240
"id": str(relation.user.id),
241241
"username": relation.user.username,
242242
"nick_name": relation.user.nick_name,
243-
"email": relation.user.email,
244243
"system_user_group_relation_id": str(relation.id),
245244
},
246245
)

0 commit comments

Comments
 (0)