Bugfix: remove unnecessary self param

This commit is contained in:
PCoder 2019-12-25 20:20:43 +05:30
parent 1400d27afa
commit 1b243822a9
1 changed files with 1 additions and 1 deletions

View File

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