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(
|
||||
order=order,
|
||||
method=api_method,
|
||||
payload=json.dumps(kwargs),
|
||||
response=json.dumps(response),
|
||||
payload=kwargs,
|
||||
response=json.loads(response),
|
||||
)
|
||||
logger.debug("saved coinify api request %s in db" % req.id)
|
||||
|
||||
|
|
Loading…
Reference in a new issue