Bugfix: remove unnecessary self param

This commit is contained in:
PCoder 2019-12-25 20:20:43 +05:30
parent 1400d27afa
commit 1b243822a9

View file

@ -129,7 +129,7 @@ def check_otp(name, realm, token):
return response.status_code return response.status_code
def validate_vat_number(self, stripe_customer_id, vat_number): def validate_vat_number(stripe_customer_id, vat_number):
try: try:
billing_address = BillingAddress.objects.get(vat_number=vat_number) billing_address = BillingAddress.objects.get(vat_number=vat_number)
except BillingAddress.DoesNotExist as dne: except BillingAddress.DoesNotExist as dne: