Skip to content

Commit fa9e320

Browse files
Gonchik TsymzhitovGonchik Tsymzhitov
authored andcommitted
Implement a additional condition for 366 issue
1 parent 8312b06 commit fa9e320

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atlassian/rest_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def request(self, method='GET', path='/', data=None, flags=None, params=None, he
134134
if flags:
135135
url += ('&' if params else '') + '&'.join(flags or [])
136136
if files is None:
137-
data = json.dumps(data)
137+
data = None if not data else json.dumps(data)
138138

139139
headers = headers or self.default_headers
140140
response = self._session.request(

0 commit comments

Comments
 (0)