Skip to content

Commit 20aad65

Browse files
committed
update
1 parent 1aec5e9 commit 20aad65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zohocrm/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def insert_record(self, module_name, data):
224224
print(1)
225225
return None
226226
url = BASE_URL + str(module_name)
227-
data = json.loads(data)
227+
data = json.dumps(dict(data))
228228
print('*********************')
229229
print('DATA: ', data)
230230
return self._post(url, data=data)

0 commit comments

Comments
 (0)