Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix(store): username not lowered when its updated (#9112)

Swifty1663d4273bbb
diff --git a/autogpt_platform/backend/backend/server/v2/store/db.py b/autogpt_platform/backend/backend/server/v2/store/db.py
index 6aa00db1d2..f3536326c2 100644
--- a/autogpt_platform/backend/backend/server/v2/store/db.py
+++ b/autogpt_platform/backend/backend/server/v2/store/db.py
@@ -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: