Skip to content

Commit

Permalink
🔀 Merge pull request n8n-io#114 from RicardoE105/fix/freshdesk-node
Browse files Browse the repository at this point in the history
Fix/freshdesk node
  • Loading branch information
janober authored Nov 10, 2019
2 parents 04724e6 + d172907 commit ecc4cf3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/nodes-base/nodes/Freshdesk/Freshdesk.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -683,7 +683,6 @@ export class Freshdesk implements INodeType {
// @ts-ignore
source: Source[capitalize(source)]
};

if (requester === 'requesterId') {
// @ts-ignore
if (isNaN(value)) {
Expand Down

0 comments on commit ecc4cf3

Please sign in to comment.