Фикс метода get_score
This commit is contained in:
@ -47,9 +47,9 @@ class osuAPIClient(AioHTTPXClient):
|
||||
case _:
|
||||
raise s.Error(500, 'Internal Server Error')
|
||||
|
||||
async def get_score(self, access_token: str, score_id: int):
|
||||
async def get_score(self, access_token: str, mode: str, score_id: int):
|
||||
req = await self.get(
|
||||
f'/scores/{score_id}',
|
||||
f'/scores/{mode}/{score_id}',
|
||||
headers=self.clean_dict(
|
||||
{
|
||||
'Authorization': f'Bearer {access_token}',
|
||||
|
||||
Reference in New Issue
Block a user