Bugfix: remove unnecessary self param
This commit is contained in:
parent
1400d27afa
commit
1b243822a9
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue