🔀 Merge branch 'master' of https://github.com/TySmith17/n8n into TySmith17-master

This commit is contained in:
Jan Oberhauser 2021-03-08 14:35:58 +01:00
commit 61a29ef25e
2 changed files with 18 additions and 0 deletions

View file

@ -170,6 +170,12 @@ export const dealFields = [
}, },
], ],
}, },
{
displayName: 'Deal Description',
name: 'description',
type: 'string',
default: '',
},
{ {
displayName: 'Deal Name', displayName: 'Deal Name',
name: 'dealName', name: 'dealName',

View file

@ -1924,6 +1924,12 @@ export class Hubspot implements INodeType {
value: additionalFields.pipeline as string, value: additionalFields.pipeline as string,
}); });
} }
if (additionalFields.description) {
body.properties.push({
name: 'description',
value: additionalFields.description as string,
});
}
if (additionalFields.customPropertiesUi) { if (additionalFields.customPropertiesUi) {
const customProperties = (additionalFields.customPropertiesUi as IDataObject).customPropertiesValues as IDataObject[]; const customProperties = (additionalFields.customPropertiesUi as IDataObject).customPropertiesValues as IDataObject[];
if (customProperties) { if (customProperties) {
@ -1980,6 +1986,12 @@ export class Hubspot implements INodeType {
value: updateFields.pipeline as string, value: updateFields.pipeline as string,
}); });
} }
if (updateFields.description) {
body.properties.push({
name: 'description',
value: updateFields.description as string,
});
}
if (updateFields.customPropertiesUi) { if (updateFields.customPropertiesUi) {
const customProperties = (updateFields.customPropertiesUi as IDataObject).customPropertiesValues as IDataObject[]; const customProperties = (updateFields.customPropertiesUi as IDataObject).customPropertiesValues as IDataObject[];
if (customProperties) { if (customProperties) {