Skip to content

Commit

Permalink
excluded some fields from get users endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
novichikhin committed Jan 17, 2024
1 parent 7041583 commit 9894501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion talkcorner/api/api_v1/endpoints/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async def login(
"/",
response_model=List[User],
dependencies=[Depends(api_authenticate_user())],
response_model_exclude={"email", "email_token", "email_verified", "password"},
response_model_exclude={"__all__": {"email", "email_token", "email_verified", "password"}},
responses=user_auth_responses
)
async def read_all(
Expand Down

0 comments on commit 9894501

Please sign in to comment.