Fix minor issues on Freshdesk-Node

This commit is contained in:
Jan Oberhauser 2020-09-10 21:56:31 +02:00
parent f8223c6e98
commit 5751a645aa

View file

@ -156,7 +156,7 @@ export const contactFields = [
}, },
description: `Key value pairs containing the name and value of the custom field.<br> description: `Key value pairs containing the name and value of the custom field.<br>
Only dates in the format YYYY-MM-DD are accepted as input for custom date fields.`, Only dates in the format YYYY-MM-DD are accepted as input for custom date fields.`,
default: {}, default: [],
options: [ options: [
{ {
displayName: 'Custom Field', displayName: 'Custom Field',
@ -243,7 +243,7 @@ export const contactFields = [
displayName: 'Other Companies', displayName: 'Other Companies',
name: 'other_companies', name: 'other_companies',
type: 'string', type: 'string',
default: '', default: [],
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -256,7 +256,7 @@ export const contactFields = [
displayName: 'Other Emails', displayName: 'Other Emails',
name: 'other_emails', name: 'other_emails',
type: 'string', type: 'string',
default: '', default: [],
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -274,7 +274,7 @@ export const contactFields = [
displayName: 'Tags', displayName: 'Tags',
name: 'tags', name: 'tags',
type: 'string', type: 'string',
default: '', default: [],
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -306,7 +306,7 @@ export const contactFields = [
displayName: 'View All Tickets', displayName: 'View All Tickets',
name: 'view_all_tickets', name: 'view_all_tickets',
type: 'boolean', type: 'boolean',
default: '', default: false,
description: `Set to true if the contact can see all the tickets<br> description: `Set to true if the contact can see all the tickets<br>
that are associated with the company to which he belong.`, that are associated with the company to which he belong.`,
}, },