1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-09-20 09:27:44 +03:00

Fix indentation on Stripe-Trigger Node

This commit is contained in:
Jan Oberhauser 2020-05-12 00:06:51 +02:00
parent 3267006921
commit f982854245
3 changed files with 810 additions and 810 deletions

View File

@ -11,17 +11,17 @@ To get the entire list of events as a JS array, scrape the website:
```js
types = []
$$('ul#event-types li').forEach(el => {
const value = el.querySelector('.method-list-item-label-name').innerText
const value = el.querySelector('.method-list-item-label-name').innerText
types.push({
name: value
.replace(/(\.|_)/, ' ')
.split(' ')
.map((s) => s.charAt(0).toUpperCase() + s.substring(1))
.join(' '),
value,
description: el.querySelector('.method-list-item-description').innerText
})
types.push({
name: value
.replace(/(\.|_)/, ' ')
.split(' ')
.map((s) => s.charAt(0).toUpperCase() + s.substring(1))
.join(' '),
value,
description: el.querySelector('.method-list-item-description').innerText
})
})
copy(types)
```

File diff suppressed because it is too large Load Diff

View File

@ -21,7 +21,7 @@ export async function stripeApiRequest(this: IHookFunctions | IExecuteFunctions,
const options = {
method,
auth: {
user: credentials.secretKey as string,
user: credentials.secretKey as string,
},
form: body,
qs: query,