mirror of
https://github.com/Significant-Gravitas/Auto-GPT.git
synced 2025-01-07 03:17:23 +08:00
fix(store): username not lowered when its updated (#9112)
fix(store): username not lowered when its updated breaking access to any of there users pages in the store
This commit is contained in:
parent
658493559d
commit
1663d4273b
@ -676,7 +676,7 @@ async def update_or_create_profile(
|
||||
if profile.name is not None:
|
||||
update_data["name"] = profile.name
|
||||
if profile.username is not None:
|
||||
update_data["username"] = profile.username
|
||||
update_data["username"] = profile.username.lower()
|
||||
if profile.description is not None:
|
||||
update_data["description"] = profile.description
|
||||
if profile.links is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user