Skip to content

Commit

Permalink
Add Content-Type to calls to Assets in cloud (#1255)
Browse files Browse the repository at this point in the history
  • Loading branch information
tester22 authored Sep 30, 2023
1 parent c17bcb1 commit 4440183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atlassian/insight.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __cloud_init(self, *args, **kwargs):
# set cloud back to true and return
kwargs["cloud"] = True
# Insight cloud is particular about its headers.
self.default_headers = {"Accept": "application/json"}
self.default_headers = {"Accept": "application/json", "Content-Type": "application/json"}
return args, kwargs

def __get_workspace_id(self):
Expand Down

0 comments on commit 4440183

Please sign in to comment.