feat: api endpoint to receive profile_image_uirl on signup

This commit is contained in:
Danny Liu 2024-04-03 22:36:27 -07:00
parent 6bb299ae25
commit 8d1db9a1c0
3 changed files with 7 additions and 6 deletions

View file

@ -146,7 +146,7 @@ async def signup(request: Request, form_data: SignupForm):
)
hashed = get_password_hash(form_data.password)
user = Auths.insert_new_auth(
form_data.email.lower(), hashed, form_data.name, role
form_data.email.lower(), hashed, form_data.name, form_data.profile_image_url, role
)
if user: