mirror of
https://git.wownero.com/wownero/YellWOWPages.git
synced 2024-08-15 01:03:25 +00:00
lower() the searches
This commit is contained in:
parent
0dc31d47b2
commit
d7ce4c9283
2 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,7 @@ async def search():
|
|||
async def user_page(name: str):
|
||||
if not name or len(name) <= 1:
|
||||
raise Exception("invalid name")
|
||||
name = name.lower()
|
||||
|
||||
try:
|
||||
_user = User.select().where(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue