From 1663d4273bbb3fd953a44d4f115d5d8cac7c3922 Mon Sep 17 00:00:00 2001 From: Swifty Date: Fri, 20 Dec 2024 17:43:57 +0100 Subject: [PATCH] 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 --- autogpt_platform/backend/backend/server/v2/store/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogpt_platform/backend/backend/server/v2/store/db.py b/autogpt_platform/backend/backend/server/v2/store/db.py index 6aa00db1d29c..f3536326c28a 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: