We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6586c3 commit 36cbc71Copy full SHA for 36cbc71
1 file changed
frost_sta_client/dao/observation.py
@@ -42,7 +42,7 @@ def create(self, entity):
42
url = self.service.url.copy()
43
url.path.add(self.CREATE_OBSERVATIONS)
44
logging.debug('Posting to ' + str(url.url))
45
- json_dict = transform_entity_to_json_dict(entity.value)
+ json_dict = [transform_entity_to_json_dict(dav) for dav in entity.value]
46
try:
47
response = self.service.execute('post', url, json=json_dict)
48
except requests.exceptions.HTTPError as e:
0 commit comments