Skip to content

Commit

Permalink
fix: fix QnA message after API updated
Browse files Browse the repository at this point in the history
  • Loading branch information
tcnguyen committed May 22, 2018
1 parent 9a8253a commit a6cdfbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/botfuel-dialog/src/views/qnas-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class QnasView extends View {
render(userMessage, { answers }) {
logger.debug('render', userMessage, { answers });

return answers[0].map(message => new BotTextMessage(message.value));
return answers[0].map(message => new BotTextMessage(message.payload.value));
}
}

Expand Down

0 comments on commit a6cdfbc

Please sign in to comment.