Skip to content

Commit

Permalink
name to jagex name
Browse files Browse the repository at this point in the history
  • Loading branch information
extreme4all committed Aug 11, 2024
1 parent a8b33f1 commit 193a892
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/v1/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ async def select_report_count_v2(name: str, manual_detect: int):
subject.possible_ban,
subject.confirmed_player
"""
name = await functions.to_jagex_name(name)
params = {"name": name, "manual_detect": manual_detect}

async with PLAYERDATA_ENGINE.get_session() as session:
Expand Down

0 comments on commit 193a892

Please sign in to comment.