Skip to content

Commit

Permalink
fixing header for enableDatasetIdentity method
Browse files Browse the repository at this point in the history
  • Loading branch information
pitchmuc committed Mar 12, 2023
1 parent afdeec4 commit aac1679
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aepp/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,9 @@ def enableDatasetIdentity(self,datasetId:str=None)->dict:
"path": "/tags/unifiedIdentity",
"value": ["enabled:true"] }
]
res = self.connector.patchData(self.endpoint+path, data=data)
privateHeader = deepcopy(self.header)
privateHeader['Content-Type'] = "application/json-patch+json"
res = self.connector.patchData(self.endpoint+path, data=data,headers=privateHeader)
return res

def disableDatasetProfile(self,datasetId: str = None)->dict:
Expand Down
1 change: 1 addition & 0 deletions docs/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This page list all of the changes that came during the different release of the
* fix issue on `SchemaManager` and `FieldGroupManager` for searching for fields at root.
* adding first set of test
* support JSON file for `uploadSmallFile` method in `ingestion` module
* fixing header `'Content-Type'` header param for `enableDatasetIdentity` in `catalog` module.

## version 0.2.7

Expand Down

0 comments on commit aac1679

Please sign in to comment.