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:
Swifty 2024-12-20 17:43:57 +01:00 committed by GitHub
parent 658493559d
commit 1663d4273b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: