Skip to content

Commit

Permalink
fix delete url
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchelljkotler committed May 23, 2024
1 parent 1c9b212 commit a8846df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Changelog
---------

4.1.2
4.1.3
~~~~~
* Fix DELETE URL for documents

Expand Down
2 changes: 1 addition & 1 deletion documentcloud/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def save(self):
self._client.put(f"{self.api_path}/{self.id}/", json=data)

def delete(self):
self._client.delete(f"{self.api_path}/{self.id}")
self._client.delete(f"{self.api_path}/{self.id}/")


class APISet(list):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name="python-documentcloud",
version="4.1.2",
version="4.1.3",
description="A simple Python wrapper for the DocumentCloud API",
author="Mitchell Kotler",
author_email="[email protected]",
Expand Down

0 comments on commit a8846df

Please sign in to comment.