🔀 Merge pull request #114 from RicardoE105/fix/freshdesk-node

Fix/freshdesk node
This commit is contained in:
Jan 2019-11-10 22:01:07 +01:00 committed by GitHub
commit 8ffa7a2265
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,10 +33,10 @@ enum Source {
Email = 1,
Portal = 2,
Phone = 3,
Chat = 4,
Mobihelp = 5,
FeedbackWidget = 6,
OutboundEmail = 7
Chat = 7,
Mobihelp = 8,
FeedbackWidget = 9,
OutboundEmail = 10
}
interface ICreateTicketBody {
@ -683,7 +683,6 @@ export class Freshdesk implements INodeType {
// @ts-ignore
source: Source[capitalize(source)]
};
if (requester === 'requesterId') {
// @ts-ignore
if (isNaN(value)) {