mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
⚡ Small improvements to OPTIONS request for webhooks
This commit is contained in:
@@ -87,10 +87,10 @@ export class ActiveWebhooks {
|
||||
|
||||
/**
|
||||
* Gets all request methods associated with a single webhook
|
||||
* @param path
|
||||
* @param path
|
||||
*/
|
||||
getWebhookMethods(path: string): string[] {
|
||||
let methods : string[] = [];
|
||||
const methods : string[] = [];
|
||||
|
||||
Object.keys(this.webhookUrls)
|
||||
.filter(key => key.includes(path))
|
||||
|
||||
Reference in New Issue
Block a user