feat: api endpoint to receive profile_image_uirl on signup
This commit is contained in:
1 parent
6bb299ae25
commit
8d1db9a1c0
3 files changed
+7
-6
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user