Фикс
This commit is contained in:
@ -139,7 +139,7 @@ class osuAPIClient(AioHTTPXClient):
|
||||
|
||||
match req.status_code:
|
||||
case st.OK:
|
||||
return [s.Score.model_validate(score) for score in req.json()]
|
||||
return s.UserBeatmapScores.model_validate(req.json())
|
||||
|
||||
case st.NOT_FOUND:
|
||||
raise s.Error(req.status_code, 'Not Found')
|
||||
|
||||
Reference in New Issue
Block a user