Skip to content

Commit

Permalink
Testing v3
Browse files Browse the repository at this point in the history
  • Loading branch information
VDuda committed May 25, 2019
1 parent 531759c commit 0362513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bigcommerce/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def _handle_response(self, url, res, suppress_empty=True):
result = res.json()
# Support v3
if self.api_path and 'v3' in self.api_path:
result['data'] #TODO ignore meta field for now
result = result['data'] #TODO ignore meta field for now
except Exception as e: # json might be invalid, or store might be down
e.message += " (_handle_response failed to decode JSON: " + str(res.content) + ")"
raise # TODO better exception
Expand Down

0 comments on commit 0362513

Please sign in to comment.