Tolerate missing json key in function node output (#2885)

* 🔨 implemented Tolerate missing json key in function node output

* 🔨 clean up

* Small change to code

*  tolerate returning object

*  Rename function

Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
Michael Kret
2022-03-07 10:54:52 +02:00
committed by GitHub
parent af09bf8e6a
commit 62e05cf0b3
3 changed files with 49 additions and 0 deletions

View File

@@ -62,6 +62,7 @@ export interface IExecuteFunctions extends IExecuteFunctionsBase {
requestOptions: OptionsWithUrl | requestPromise.RequestPromiseOptions,
): Promise<any>; // tslint:disable-line:no-any
returnJsonArray(jsonData: IDataObject | IDataObject[]): INodeExecutionData[];
normalizeItemsInArray(items: INodeExecutionData[]): INodeExecutionData[];
httpRequestWithAuthentication(
this: IAllExecuteFunctions,
credentialsType: string,