From 0b8315ca7600fdf2fc430ab6649cdd26b8897ec4 Mon Sep 17 00:00:00 2001 From: PCoder Date: Wed, 25 Dec 2019 23:20:48 +0530 Subject: [PATCH] Remove wrong filter --- datacenterlight/utils.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/datacenterlight/utils.py b/datacenterlight/utils.py index 096f835c..6b1ac112 100644 --- a/datacenterlight/utils.py +++ b/datacenterlight/utils.py @@ -194,14 +194,12 @@ def create_tax_id(stripe_customer_id, vat_number, type): return tax_id_response b_addresses = BillingAddress.objects.filter( - stripe_customer_id=stripe_customer_id, vat_number=vat_number ) for b_address in b_addresses: b_address.stripe_tax_id = tax_id_obj.id ub_addresses = UserBillingAddress.objects.filter( - stripe_customer_id=stripe_customer_id, vat_number=vat_number ) for ub_address in ub_addresses: