Skip to content

Commit

Permalink
fix: content_type for certain nodes (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Oct 4, 2023
1 parent 7cbffe8 commit d59fae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dank_mids/helpers/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async def post(self, endpoint: str, *args, loads: JSONDecoder = None, _retry_aft
try:
async with limiter:
async with super().post(endpoint, *args, **kwargs) as response:
response = await response.json(loads=loads)
response = await response.json(loads=loads, content_type=None)
logger.debug("received response %s", response)
return response
except ClientResponseError as ce:
Expand Down

0 comments on commit d59fae4

Please sign in to comment.