Skip to content

Commit 0362513

Browse files
committed
Testing v3
1 parent 531759c commit 0362513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bigcommerce/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def _handle_response(self, url, res, suppress_empty=True):
162162
result = res.json()
163163
# Support v3
164164
if self.api_path and 'v3' in self.api_path:
165-
result['data'] #TODO ignore meta field for now
165+
result = result['data'] #TODO ignore meta field for now
166166
except Exception as e: # json might be invalid, or store might be down
167167
e.message += " (_handle_response failed to decode JSON: " + str(res.content) + ")"
168168
raise # TODO better exception

0 commit comments

Comments
 (0)