Skip to content

Commit

Permalink
Fix status reference #13
Browse files Browse the repository at this point in the history
  • Loading branch information
nnsnodnb committed Jun 5, 2018
1 parent d9ee3c7 commit b827b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storekit/appstore.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def validate(self, receipt, password=None):

api_response = requests.post(self.url, json=receipt_json).json()

status = api_response['response']['status']
status = api_response['status']

if status != api_result_ok:
error = AppValidationError(api_result_errors.get(status, 'Unknown API status'), api_response)
Expand Down

0 comments on commit b827b4e

Please sign in to comment.