Skip to content

Commit

Permalink
Reply from the bugbug batch API now is under 'bugs' (#781)
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-c authored and calixteman committed Jul 23, 2019
1 parent fc3b894 commit e0d5b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto_nag/bugbug_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def get_bug_ids_classification(
msg = f"Couldn't get {len(bug_ids)} bug classification in {total_sleep} seconds, aborting"
raise Exception(msg)

json_response = response.json()
json_response = response.json()["bugs"]

# Inject back the bug in the response
if bugs: # Deprecated
Expand Down

0 comments on commit e0d5b5e

Please sign in to comment.