Use correct variable

This commit is contained in:
PCoder 2019-12-31 22:50:46 +05:30
parent ca5724f10f
commit 7423a80670

View file

@ -273,8 +273,8 @@ def create_tax_id(stripe_customer_id, billing_address_id, type,
return { return {
'paid': False, 'paid': False,
'response_object': None, 'response_object': None,
'error': "No such address found" if 'error' not in tax_id_obj else 'error': "No such address found" if 'error' not in tax_id_response else
tax_id_obj["error"] tax_id_response["error"]
} }
try: try: