This commit is contained in:
2025-11-26 12:49:00 +03:00
parent 7e16888655
commit d901516ec9
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -42,10 +42,10 @@ class osuAPIClient(AioHTTPXClient):
return s.BeatmapExtended.model_validate(req.json())
case st.NOT_FOUND:
return s.Error(404, 'Beatmap not found')
raise s.Error(404, 'Beatmap not found')
case _:
return s.Error(500, 'Internal Server Error')
raise s.Error(500, 'Internal Server Error')
async def get_user_scores(
self,