<@585766846268047370>, сделал

This commit is contained in:
MadCat9958 2023-06-04 13:08:30 +03:00
parent 11f5ca3fc7
commit 51bc496893

View file

@ -42,7 +42,7 @@ class HttpClient:
async with self.session.request(method, url, **kwargs) as response:
data = await response.json()
if response.status == 200 or response.status == 201:
if (200, 201).__contains__(response.status):
return data["result"]
else:
raise exceptions.HTTPException(