Skip to content

Commit

Permalink
Merge pull request #707 from techmatters/CHI-3005-just_fix
Browse files Browse the repository at this point in the history
CHI-3005: Don't increase chat capacity for conversation transfers
  • Loading branch information
stephenhand authored Oct 25, 2024
2 parents a9b8ed5 + ca5b40f commit 5af29d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions functions/transferChatStart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,10 +359,10 @@ export const handler = TokenValidator(
});

newTaskSid = newTask.sid;
}

// Increse the chat capacity for the target worker (if needed)
await increaseChatCapacity(context, validationResult);
// Increse the chat capacity for the target worker (if needed)
await increaseChatCapacity(context, validationResult);
}

resolve(success({ taskSid: newTaskSid }));
} catch (err: any) {
Expand Down

0 comments on commit 5af29d7

Please sign in to comment.