fix json saves
This commit is contained in:
parent
cd59f9cf4b
commit
6b42358ad6
|
@ -75,8 +75,8 @@ def coinify_api_request(api_method, order, **kwargs):
|
||||||
req = CoinifyAPIRequest.objects.create(
|
req = CoinifyAPIRequest.objects.create(
|
||||||
order=order,
|
order=order,
|
||||||
method=api_method,
|
method=api_method,
|
||||||
payload=json.dumps(kwargs),
|
payload=kwargs,
|
||||||
response=json.dumps(response),
|
response=json.loads(response),
|
||||||
)
|
)
|
||||||
logger.debug("saved coinify api request %s in db" % req.id)
|
logger.debug("saved coinify api request %s in db" % req.id)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue