Skip to content

Commit

Permalink
Merge pull request #24 from mishaschwartz/v0.1.1
Browse files Browse the repository at this point in the history
v0.1.1
  • Loading branch information
mishaschwartz authored Apr 20, 2020
2 parents 588d398 + 306380d commit 0c64780
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

##[v0.1.1]
- Fixed bug which caused file uploads to be PUT requests by default instead of POST (#22)

##[v0.1.0]
- this release includes functions to call all API routes for MarkUs version 1.9.0 (#10, #12, #13, #14, #18)
- updated documentation to give correct instructions for pip installation (#11)
Expand Down
2 changes: 1 addition & 1 deletion markusapi/markusapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ def _do_file_upload(
file_path: str,
contents: Union[str, bytes],
mime_type: Optional[str] = None,
request_type: str = "PUT",
request_type: str = "POST",
) -> ResponseType:
"""
Helper that performs requests of <request_type> to <path> that involves uploading a file named
Expand Down

0 comments on commit 0c64780

Please sign in to comment.