Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' of github.com:howdyai/botkit into 410
Browse files Browse the repository at this point in the history
  • Loading branch information
benbrown committed Aug 25, 2020
2 parents 28e5ea7 + 62dc012 commit 93ab723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/botkit/src/conversation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ export class BotkitConversation<O extends object = {}> extends Dialog<O> {
const index = step.index;
const thread_name = step.thread;
const result = step.result;
const response = result.text || (typeof (result) === 'string' ? result : null);
const response = result == null ? null : (result.text || (typeof (result) === 'string' ? result : null));

// spawn a bot instance so devs can use API or other stuff as necessary
const bot = await this._controller.spawn(dc);
Expand Down

0 comments on commit 93ab723

Please sign in to comment.