Skip to content

Commit

Permalink
fix(store): username not lowered when its updated (#9112)
Browse files Browse the repository at this point in the history
fix(store): username not lowered when its updated breaking access to any
of there users pages in the store
  • Loading branch information
Swiftyos authored Dec 20, 2024
1 parent 6584935 commit 1663d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogpt_platform/backend/backend/server/v2/store/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1663d42

Please sign in to comment.