mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix dealNote bug
This commit is contained in:
parent
78997ddeac
commit
5b335c1578
|
@ -1115,10 +1115,12 @@ export class ActiveCampaign implements INodeType {
|
|||
// deal:createNote
|
||||
// ----------------------------------
|
||||
requestMethod = 'POST'
|
||||
console.log(operation)
|
||||
console.log(this.getNodeParameter('dealNote', i) as string)
|
||||
|
||||
body.note = {
|
||||
note: this.getNodeParameter('createNote', i) as string,
|
||||
}
|
||||
note: this.getNodeParameter('dealNote', i) as string,
|
||||
} as IDataObject
|
||||
|
||||
const dealId = this.getNodeParameter('dealId', i) as number;
|
||||
endpoint = `/api/3/deals/${dealId}/notes`;
|
||||
|
@ -1130,8 +1132,8 @@ export class ActiveCampaign implements INodeType {
|
|||
requestMethod = 'POST'
|
||||
|
||||
body.note = {
|
||||
note: this.getNodeParameter('updateNote', i) as string,
|
||||
}
|
||||
note: this.getNodeParameter('dealNote', i) as string,
|
||||
} as IDataObject
|
||||
|
||||
const dealId = this.getNodeParameter('dealId', i) as number;
|
||||
const dealNoteId = this.getNodeParameter('dealNoteId', i) as number;
|
||||
|
|
Loading…
Reference in a new issue