Skip to content

Commit

Permalink
Nuxeo 10.10 PUT requests to the API need new type
Browse files Browse the repository at this point in the history
  • Loading branch information
tingletech committed Apr 22, 2021
1 parent cd919a2 commit 69433f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pynux/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def update_nuxeo_properties(self, data, **documentid):
uid = documentid['uid']
url = u'/'.join([self.conf['api'], "id", uid])
headers = self.document_property_headers
headers.update({'Content-Type': 'application/json+nxentity'})
headers.update({'Content-Type': 'application/json'})

# copy what we want from the input json into the payload
payload = {}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from setuptools import setup, find_packages
setup(
name='pynux',
version = "1.0.9",
version = "1.0.10",
packages = find_packages(),
install_requires = [
'requests',
Expand Down

0 comments on commit 69433f5

Please sign in to comment.