Fix error message

This commit is contained in:
PCoder 2019-12-31 18:36:38 +05:30
parent 2378410f2d
commit ca5724f10f

View file

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