Skip to content

Commit

Permalink
Support custom records on the insert record operation
Browse files Browse the repository at this point in the history
  • Loading branch information
drudge committed Jun 29, 2022
1 parent cc4d9b9 commit 51f43b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nodes/NetSuite/NetSuite.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ export class NetSuite implements INodeType {
static async insertRecord(options: INetSuiteOperationOptions): Promise<INodeExecutionData> {
const { fns, credentials, itemIndex, item } = options;
const apiVersion = fns.getNodeParameter('version', itemIndex) as string;
const recordType = fns.getNodeParameter('recordType', itemIndex) as string;
const recordType = NetSuite.getRecordType(options);
const query = item ? item.json : undefined;
const requestData: INetSuiteRequestOptions = {
method: 'POST',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "n8n-nodes-netsuite",
"version": "0.7.0",
"version": "0.7.2",
"description": "n8n node for NetSuite using the REST API",
"license": "MIT",
"homepage": "https://github.com/drudge/n8n-nodes-netsuite",
Expand Down

0 comments on commit 51f43b8

Please sign in to comment.