This commit is contained in:
2025-12-15 19:36:53 +03:00
parent 8e466ec577
commit 80c541e195
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[project] [project]
name = "osuclient" name = "osuclient"
version = "0.6.1" version = "0.6.2"
description = "Client for osu! API" description = "Client for osu! API"
readme = "README.md" readme = "README.md"
authors = [ authors = [

View File

@ -139,7 +139,7 @@ class osuAPIClient(AioHTTPXClient):
match req.status_code: match req.status_code:
case st.OK: 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: case st.NOT_FOUND:
raise s.Error(req.status_code, 'Not Found') raise s.Error(req.status_code, 'Not Found')