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