Clean up and I think I fixed a weird bug with Pydantic models and the list object type. It seems to try for a dict conversion first if Union[dict,list] is used.
This commit is contained in:
@@ -408,7 +408,7 @@ async def lookup_user_obj(
|
||||
return mk_resp(data=data)
|
||||
|
||||
|
||||
# Look up a user with an email addresss for an account
|
||||
# Look up a user with an email address for an account
|
||||
@router.get('/lookup_email', response_model=Resp_Body_Base)
|
||||
async def lookup_email(
|
||||
account_id: Union[int,str],
|
||||
|
||||
Reference in New Issue
Block a user