Skip to content

Commit dd23cc3

Browse files
committed
fix(json import): json scope is incorrect
1 parent 961d4b9 commit dd23cc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibm_cloud_sdk_core/base_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def request(self, method, url, accept_json=False, headers=None,
301301

302302
# Support versions of requests older than 2.4.2 without the json input
303303
if not data and json is not None:
304-
data = json.dumps(json)
304+
data = json_import.dumps(json)
305305
headers.update({'content-type': 'application/json'})
306306

307307
auth = None

0 commit comments

Comments
 (0)