Skip to content

Commit

Permalink
fix: use string as json key
Browse files Browse the repository at this point in the history
  • Loading branch information
Nastaliss committed Jul 1, 2024
1 parent ebc4104 commit 0acfed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/pyrostorage/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def create_annotation(self, media_id: int, observations: List[str]) -> Response:
return requests.post(
self.routes["create-annotation"],
headers=self.headers,
json={"media_id": media_id, observations: observations},
json={"media_id": media_id, "observations": observations},
)

def update_annotation(self, annotation_id: int, observations: List[str] = None) -> Response:
Expand Down

0 comments on commit 0acfed9

Please sign in to comment.