From be94708e6601d345d74a52916876aa106c7d5719 Mon Sep 17 00:00:00 2001 From: SwiftyOS Date: Fri, 20 Dec 2024 17:12:58 +0100 Subject: [PATCH] fix(store): username not lowered when its updated --- 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: