full-stack-fastapi-template icon indicating copy to clipboard operation
full-stack-fastapi-template copied to clipboard

Fix bug: User was not able to update details without providing password

Open vikrant-pune opened this issue 4 years ago • 2 comments

Current code was raising error, When user was trying to update name / other details from UI backend_1 | File "./app/crud/crud_user.py", line 34, in update backend_1 | if update_data["password"]: backend_1 | KeyError: 'password'

vikrant-pune avatar Feb 28 '21 10:02 vikrant-pune

@tiangolo Could you review / merge this

vikrant-pune avatar Feb 28 '21 10:02 vikrant-pune

This should be merged asap

luisliz avatar Mar 08 '21 03:03 luisliz

Thank you! Good catch @vikrant-pune :nerd_face:

This was solved in another PR, so I'll now close this one. :coffee:

tiangolo avatar Mar 07 '24 23:03 tiangolo