mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
Add data fields to collections
This commit is contained in:
@@ -9,7 +9,7 @@ import { cockpitApiRequest } from './GenericFunctions';
|
||||
|
||||
export async function createCollectionEntry(this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, resourceName: string, data: IDataObject, id?: string): Promise<any> { // tslint:disable-line:no-any
|
||||
const body: ICollection = {
|
||||
data: JSON.parse(data.toString())
|
||||
data,
|
||||
};
|
||||
|
||||
if (id) {
|
||||
|
||||
Reference in New Issue
Block a user