Skip to content

Commit

Permalink
Fix exports
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenhand committed Jul 30, 2024
1 parent bbf9a37 commit 15761d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion functions/interaction/transitionAgentParticipants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type Body = {
request: { cookies: {}; headers: {} };
};

export const transitionAgentParticipants = async (
const transitionAgentParticipants = async (
client: ReturnType<Context<EnvVars>['getTwilioClient']>,
twilioWorkspaceSid: string,
taskSid: string,
Expand Down Expand Up @@ -110,6 +110,8 @@ export const transitionAgentParticipants = async (
return { errorType: 'Exception', errorMessage: failures[0].reason };
};

export default transitionAgentParticipants;

/**
* This function looks up a Flex interaction & interaction channel using the attributes of the provided Task.
* It will then transition any participants in the interaction channel of type 'agent' to the pspecified state.
Expand Down

0 comments on commit 15761d6

Please sign in to comment.