yiannis.gkoufas
04/26/2022, 8:03 AMemailpassword_email_exists_get
method (as I understand)
the thing I am not sure about is how to query the db about a user with a specific email.
I found this code in the source:
params = {
'email': email
}
response = await Querier.get_instance("random").send_get_request(NormalisedURLPath('/recipe/user'), params)
if 'status' in response and response['status'] == 'OK':
return User(response['user']['id'], response['user']
['email'], response['user']['timeJoined'])
however it doesn't return the user I expect to find