Skip to content

Commit

Permalink
1617 patch manifest methods do not send updates (#1618)
Browse files Browse the repository at this point in the history
* Increment package version

* Correct patch methods #1617
  • Loading branch information
wiljnichepa authored Jul 15, 2024
1 parent c82dbe9 commit cd51198
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion emanifest-py/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "emanifest"
version = "4.1.1"
version = "4.1.2"
description = "An API utility wrapper for accessing the e-Manifest hazardous waste tracking system maintained by the US Environmental Protection Agency"
readme = "README.md"
authors = [
Expand Down
4 changes: 2 additions & 2 deletions emanifest-py/src/emanifest/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ def patch_update_manifest(self, mtn: str, body: dict) -> RcrainfoResponse:
dict: message of success or failure
"""
endpoint = f"{self.base_url}v1/emanifest/manifest/patch-update/{mtn}"
return self.__rcra_request("PATCH", endpoint)
return self.__rcra_request("PATCH", endpoint, body)

def patch_correct_manifest(self, mtn: str, body: dict) -> RcrainfoResponse:
"""
Expand All @@ -885,7 +885,7 @@ def patch_correct_manifest(self, mtn: str, body: dict) -> RcrainfoResponse:
dict: message of success or failure
"""
endpoint = f"{self.base_url}v1/emanifest/manifest/patch-correct/{mtn}"
return self.__rcra_request("PATCH", endpoint)
return self.__rcra_request("PATCH", endpoint, body)

def update_manifest(
self, manifest_json: dict, zip_file: bytes = None
Expand Down

0 comments on commit cd51198

Please sign in to comment.