Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sample/confidential_client_certificate_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
graph_data = requests.get( # Use token to call downstream service
config["endpoint"],
headers={'Authorization': 'Bearer ' + result['access_token']},).json()
print("Graph API call result: " + str(graph_data))
print("Graph API call result: %s" % json.dumps(graph_data, indent=2))
else:
print(result.get("error"))
print(result.get("error_description"))
Expand Down
2 changes: 1 addition & 1 deletion sample/confidential_client_secret_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
graph_data = requests.get( # Use token to call downstream service
config["endpoint"],
headers={'Authorization': 'Bearer ' + result['access_token']},).json()
print("Graph API call result: " + str(graph_data))
print("Graph API call result: %s" % json.dumps(graph_data, indent=2))

else:
print(result.get("error"))
Expand Down