Skip to content

Commit

Permalink
Merge pull request #61 from avrae/jokeen/2023w25
Browse files Browse the repository at this point in the history
Jokeen/2023w25
  • Loading branch information
Croebh committed Jun 28, 2023
2 parents ba1934d + 8b1343b commit 5ee0087
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blueprints/discord.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def search_user(_):
return error(400, "username param is required")
un = request.args["username"]
if "#" not in un:
return error(400, "username must be username#discrim")
un += "#0"
username, discriminator = un.rsplit("#", 1)
user = search_by_username(username, discriminator)
if user is not None:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ PyJWT==2.4.0
redis==3.5.3
requests==2.25.1
sentry-sdk[flask]==1.0.0
git+https://github.com/avrae/automation-common@v4.1.7
git+https://github.com/avrae/automation-common@v4.1.8

# transitive deps
Werkzeug==2.0.3
Expand Down

0 comments on commit 5ee0087

Please sign in to comment.