Skip to content

Commit 306380d

Browse files
committed
Merge branch 'master' into v0.1.1
2 parents 588d398 + 9b9ab65 commit 306380d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
##[v0.1.1]
4+
- Fixed bug which caused file uploads to be PUT requests by default instead of POST (#22)
5+
36
##[v0.1.0]
47
- this release includes functions to call all API routes for MarkUs version 1.9.0 (#10, #12, #13, #14, #18)
58
- updated documentation to give correct instructions for pip installation (#11)

markusapi/markusapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def _do_file_upload(
461461
file_path: str,
462462
contents: Union[str, bytes],
463463
mime_type: Optional[str] = None,
464-
request_type: str = "PUT",
464+
request_type: str = "POST",
465465
) -> ResponseType:
466466
"""
467467
Helper that performs requests of <request_type> to <path> that involves uploading a file named

0 commit comments

Comments
 (0)