Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Krishna-Singhal authored May 25, 2021
1 parent a02376d commit 123a065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userge/plugins/admin/antispam.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ async def getData(link: str):

@pool.run_in_thread
def _get_userge_antispam_data(user_id: int):
return Client(Config.USERGE_ANTISPAM_API).get_ban(user_id)
return Client(Config.USERGE_ANTISPAM_API).getban(user_id)


@pool.run_in_thread
Expand Down

0 comments on commit 123a065

Please sign in to comment.