mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat(Github Trigger Node): Use resource locator component (#5253)
* ⚡️wip * ⚡️RLC Search Function for getUsers and getRepositories * 🐛fix Repository RLC by name url * 🐛 search method getRepositories include forks * 🐛 fix repository name can have a dot * 🐛 fix RLC extractValue without optional * 🎨 fix linting errors * 🎨 using prefix 'e.g.' in RLC placeholders --------- Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
@@ -2,7 +2,7 @@ import type { OptionsWithUri } from 'request';
|
||||
|
||||
import type { IExecuteFunctions, IHookFunctions } from 'n8n-core';
|
||||
|
||||
import type { IDataObject } from 'n8n-workflow';
|
||||
import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow';
|
||||
import { NodeApiError, NodeOperationError } from 'n8n-workflow';
|
||||
|
||||
/**
|
||||
@@ -10,7 +10,7 @@ import { NodeApiError, NodeOperationError } from 'n8n-workflow';
|
||||
*
|
||||
*/
|
||||
export async function githubApiRequest(
|
||||
this: IHookFunctions | IExecuteFunctions,
|
||||
this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions,
|
||||
method: string,
|
||||
endpoint: string,
|
||||
body: object,
|
||||
|
||||
Reference in New Issue
Block a user