Skip to content

Commit

Permalink
update to reflect tasks_ids change
Browse files Browse the repository at this point in the history
  • Loading branch information
doomedraven committed Dec 23, 2016
1 parent 1d3bdee commit 7a2d223
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/book/src/usage/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ Following is a list of currently available resources and a brief description of
# Add your code to error checking for request.status_code.
json_decoder = json.JSONDecoder()
task_id = json_decoder.decode(request.text)["task_id"]
task_ids = json_decoder.decode(request.text)["task_ids"]
# Add your code for error checking if task_id is None.

Expand Down

0 comments on commit 7a2d223

Please sign in to comment.