Skip to content

Commit

Permalink
rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenhand committed Jul 30, 2024
1 parent aa5eb26 commit 2be16a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion functions/taskrouterListeners/transfersListener.private.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const updateWarmVoiceTransferAttributes = async (

/**
* Checks the event type to determine if the listener should handle the event or not.
* If it returns true, the taskrouter will invoke this listener.\
* If it returns true, the taskrouter will invoke this listener.
*/
export const shouldHandle = (event: EventFields) => eventTypes.includes(event.EventType);

Expand Down Expand Up @@ -201,6 +201,7 @@ export const handleEvent = async (context: Context<EnvVars>, event: EventFields)
`Error removing original participant ${taskAttributes.originalParticipantSid} from conversation ${taskAttributes.conversationSid}`,
);
}

console.log('Finished handling chat transfer accepted.');
return;
}
Expand Down

0 comments on commit 2be16a9

Please sign in to comment.