Skip to content

Commit

Permalink
Fix json encoder issues and nested queries
Browse files Browse the repository at this point in the history
  • Loading branch information
HemanthSai7 committed Aug 21, 2023
1 parent a54a11c commit 9dc7b63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion API/services/auth/AuthServices.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def signup(response_result: FrontendResponseModel, data: Union[UserAuth,BulkSign
passwords=[Auth.get_password_hash(passwd) for passwd in data.passwords]
village_name=data.village_name

users=DBQueries.filtered_db_search("Auth",role_manager.user,["_id","password","village_name"],search_idxs={"AADHAR":{"$in":AADHAR_NOS}})
users=DBQueries.filtered_db_search("Auth", role_manager.user, ["_id","password","village_name"], search_idxs={"AADHAR":{"$in":AADHAR_NOS}})
users=[user["AADHAR"] for user in users]

invalid_users=[]
Expand Down

0 comments on commit 9dc7b63

Please sign in to comment.