Fix a typo
This commit is contained in:
parent
5cb1c136cf
commit
e7196af1f9
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class Command(BaseCommand):
|
|||
elif options['delete']:
|
||||
logger.debug("Deleting webhook")
|
||||
if 'webhook_id' in options:
|
||||
stripe.Webhook.delete(options['webhook_id'])
|
||||
stripe.WebhookEndpoint.delete(options['webhook_id'])
|
||||
msg = "Deleted " + options['webhook_id']
|
||||
logger.debug(msg)
|
||||
self.stdout.write(
|
||||
|
|
Loading…
Add table
Reference in a new issue