Commit cc433dc6 by taufikyu

perbaiki callback to pemda

1 parent dd579694
......@@ -588,7 +588,7 @@ def sendrpc(request, kd_bayar):
verify = True
try:
resp = requests.post(url=url,
data=dict(kd_bayar=kd_bayar),
data=json.dumps(dict(kd_bayar=kd_bayar)),
headers=headers,
verify=verify)
log.info('Response RPC CALLBACK PEMDA : {}'.format(resp.content))
......
......@@ -684,7 +684,7 @@ def sendrpc(request, kd_bayar):
verify = True
try:
resp = requests.post(url=url,
data=dict(kd_bayar=kd_bayar),
data=json.dumps(dict(kd_bayar=kd_bayar)),
headers=headers,
verify=verify)
log.info('Response RPC CALLBACK PEMDA : {}'.format(resp.content))
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!