Фикс
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "osuclient"
|
||||
version = "0.4.0"
|
||||
version = "0.4.1"
|
||||
description = "Client for osu! API"
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
|
||||
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user