👕 Fix lint issues and naming

This commit is contained in:
Jan Oberhauser 2019-10-16 11:43:34 +02:00
parent 94b538d344
commit 1b47d19d46
2 changed files with 8 additions and 8 deletions

View file

@ -1,12 +1,12 @@
All Stripe webhook events are taken from docs:
https://stripe.com/docs/api/events/types#event_types
[https://stripe.com/docs/api/events/types#event_types](https://stripe.com/docs/api/events/types#event_types)
To get the entire list of events as a JS array, scrape the website:
1. manually add the id #event-types to `<ul>` that contains all event types
2. copy-paste the function in the JS console
3. the result is copied into in the clipboard
4. paste the prepared array in StripeTrigger.node.ts
1. manually add the id #event-types to `<ul>` that contains all event types
2. copy-paste the function in the JS console
3. the result is copied into in the clipboard
4. paste the prepared array in StripeTrigger.node.ts
```js
types = []

View file

@ -16,14 +16,14 @@ import {
export class StripeTrigger implements INodeType {
description: INodeTypeDescription = {
displayName: 'Stripe',
displayName: 'Stripe Trigger',
name: 'stripe',
icon: 'file:stripe.png',
group: ['trigger'],
version: 1,
description: 'Handle Stripe events via webhooks',
defaults: {
name: 'Stripe',
name: 'Stripe Trigger',
color: '#32325d',
},
inputs: [],