Skip to content

Commit

Permalink
fix collections cell bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fedorov authored May 26, 2023
1 parent 2e2ddef commit 14f6a88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions API/notebooks/How_to_use_IDC_APIs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@
"id": "AsmNpqYtyxl0"
},
"source": [
"collections_req = requests.get('{}/collections'.format(idc_api_preamble))\n",
"response = requests.get('{}/collections'.format(idc_api_preamble))\n",
"# Check that there wasn't an error with the request\n",
"if response.status_code != 200:\n",
" # Print the error code and message if something went wrong\n",
Expand All @@ -372,7 +372,7 @@
},
"source": [
"# Print the collections JSON text\n",
"pretty(collections_req)"
"pretty(response)"
],
"execution_count": null,
"outputs": []
Expand Down

0 comments on commit 14f6a88

Please sign in to comment.