👔(backend) change field displayed on users endpoint
Change the field displayed on the users endpoint. We need the email field to be displayed.
This commit is contained in:
@@ -118,10 +118,7 @@ def test_api_users_retrieve_me_authenticated():
|
||||
assert response.status_code == 200
|
||||
assert response.json() == {
|
||||
"id": str(user.id),
|
||||
"language": user.language,
|
||||
"timezone": str(user.timezone),
|
||||
"is_device": False,
|
||||
"is_staff": False,
|
||||
"email": user.email,
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user