🔥(backend) remove users systematic return of profile_contact

Custom UserManaged returned profile_contact field when returning users.
While this may be useful later, we'd currently rather have it return users.
This commit is contained in:
Marie PUPO JEAMMET
2024-02-19 16:16:39 +01:00
committed by Marie
parent 5113eb013b
commit 63e059a4e6
5 changed files with 5 additions and 25 deletions

View File

@@ -311,7 +311,6 @@ def test_api_users_retrieve_me_authenticated():
"timezone": str(user.timezone),
"is_device": False,
"is_staff": False,
"data": user.profile_contact.data,
}