Skip to content

Commit

Permalink
fix unmatchedResponses in surveyToText.js
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmarcou committed May 30, 2024
1 parent 032970a commit 5bbb1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/surveyToText.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default async function surveyToText(redisClient, surveyName) {
if (summary.unmatchedResponses != null && summary.unmatchedResponses.length > 0) {
msg += divider;
msg += `### Unmatched Responses\n`;
msg += `:speech_balloon: Responses not matched with any topic: ${unmatchedResponseCount}\n`
msg += `:speech_balloon: Responses not matched with any topic: ${summary.unmatchedResponses.length}\n`

const responseMessages = summary.unmatchedResponses.map((response) => {
summarizedResponses.push(response);
Expand Down

0 comments on commit 5bbb1a7

Please sign in to comment.