Skip to content

Commit

Permalink
Fixing things
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeyUsersREC committed Mar 13, 2024
1 parent 7851dd7 commit d4bd764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/prc_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ async def _send_api_request(self, method: typing.Literal['GET', 'POST'], endpoin
# })
# response.status = 423

return response.status, (await response.json() if response.content_type != "text/plain" else {})
return response.status, (await response.json() if response.content_type != "text/html" else {})


async def get_server_status(self, guild_id: int):
Expand Down

0 comments on commit d4bd764

Please sign in to comment.