Skip to content
Snippets Groups Projects
Commit 839becd3 authored by Jo Sama's avatar Jo Sama :scream:
Browse files

Merge branch 'bugfix-dont-send-none-values-for-batches' into 'master'

Post new batches without sending None-fields

See merge request !21
parents ee325a54 0cb5981e
No related branches found
No related tags found
1 merge request!21Post new batches without sending None-fields
Pipeline #90097 passed
......@@ -285,7 +285,7 @@ class SetraClient(object):
url = self.urls.post_new_batch()
headers = {'Content-Type': 'application/json'}
response = self.post(url,
data=batchdata.json(),
data=batchdata.json(exclude_unset=True),
headers=headers,
return_response=True)
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment