Skip to content

Commit 5ee0087

Browse files
authored
Merge pull request #61 from avrae/jokeen/2023w25
Jokeen/2023w25
2 parents ba1934d + 8b1343b commit 5ee0087

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

blueprints/discord.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def search_user(_):
4040
return error(400, "username param is required")
4141
un = request.args["username"]
4242
if "#" not in un:
43-
return error(400, "username must be username#discrim")
43+
un += "#0"
4444
username, discriminator = un.rsplit("#", 1)
4545
user = search_by_username(username, discriminator)
4646
if user is not None:

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ PyJWT==2.4.0
99
redis==3.5.3
1010
requests==2.25.1
1111
sentry-sdk[flask]==1.0.0
12-
git+https://github.com/avrae/[email protected].7
12+
git+https://github.com/avrae/[email protected].8
1313

1414
# transitive deps
1515
Werkzeug==2.0.3

0 commit comments

Comments
 (0)