Commit 89136881 authored by unknown's avatar unknown
Browse files

update status history put

parent 11ac19f0
...@@ -73,7 +73,7 @@ class BuildingGeneric: ...@@ -73,7 +73,7 @@ class BuildingGeneric:
Update the history. Update the history.
Note: the retries for conflict error are managed within BKC API Note: the retries for conflict error are managed within BKC API
""" """
payload = {"operation_history": status} payload = {"new_entry": status}
url = "/".join([self.settings.base_url, self._uid, "history"]) url = "/".join([self.settings.base_url, self._uid, "history"])
return self._req(method="put", url=url, json=payload) return self._req(method="put", url=url, json=payload)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment