Skip to content

Commit

Permalink
fix: we're not dumping json data
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmmaTech authored Sep 10, 2023
1 parent f267bc6 commit 4f3f320
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nextcore/http/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from aiohttp import ClientSession

from ... import __version__ as nextcore_version
from ...common import UNDEFINED, Dispatcher, UndefinedType, json_dumps
from ...common import UNDEFINED, Dispatcher, UndefinedType, json_loads
from ..bucket import Bucket
from ..bucket_metadata import BucketMetadata
from ..errors import (
Expand Down Expand Up @@ -189,7 +189,7 @@ async def setup(self) -> None:
"""
if self._session is not None:
raise RuntimeError("This method can only be called once!")
self._session = ClientSession(json_serialize=json_dumps)
self._session = ClientSession(json_serialize=json_loads)

async def close(self) -> None:
"""Clean up internal state"""
Expand Down

0 comments on commit 4f3f320

Please sign in to comment.