fix: correct all the spelling typos (#3960)

* Improve code health
Fix TS typos in local variables
Fix CSS typos in local styles
Fix typos in comments
Fix typos in strings

* Fix order of n8n setup sections in CONTRIBUTING.md
This commit is contained in:
Aaron Delasy
2022-09-02 17:13:17 +03:00
committed by GitHub
parent a3791c22b3
commit 49c85a1df8
69 changed files with 167 additions and 167 deletions

View File

@@ -47,7 +47,7 @@ export function registerProductionWebhooks() {
this.app.all(
`/${this.endpointWebhook}/*`,
async (req: express.Request, res: express.Response) => {
// Cut away the "/webhook/" to get the registred part of the url
// Cut away the "/webhook/" to get the registered part of the url
const requestUrl = (req as ICustomRequest).parsedUrl!.pathname!.slice(
this.endpointWebhook.length + 2,
);
@@ -112,14 +112,14 @@ export function registerProductionWebhooks() {
this.app.all(
`/${this.endpointWebhookWaiting}/*`,
async (req: express.Request, res: express.Response) => {
// Cut away the "/webhook-waiting/" to get the registred part of the url
// Cut away the "/webhook-waiting/" to get the registered part of the url
const requestUrl = (req as ICustomRequest).parsedUrl!.pathname!.slice(
this.endpointWebhookWaiting.length + 2,
);
const method = req.method.toUpperCase() as WebhookHttpMethod;
// TOOD: Add support for OPTIONS in the future
// TODO: Add support for OPTIONS in the future
// if (method === 'OPTIONS') {
// }