8000 Added another missed default in call to ObjectPath.get_path_value · Santhosh0505/botbuilder-python@912ea5f · GitHub
[go: up one dir, main page]

Skip to content

Commit 912ea5f

Browse files
committed
Added another missed default in call to ObjectPath.get_path_value
1 parent 4dbc680 commit 912ea5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/botbuilder-ai/botbuilder/ai/qna/dialogs/qnamaker_dialog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ async def __display_qna_result(self, step_context: WaterfallStepContext):
445445

446446
# If previous QnAId is present, replace the dialog
447447
previous_qna_id = ObjectPath.get_path_value(
448-
step_context.active_dialog.state, QnAMakerDialog.KEY_PREVIOUS_QNA_ID
448+
step_context.active_dialog.state, QnAMakerDialog.KEY_PREVIOUS_QNA_ID, 0
449449
)
450450
if previous_qna_id > 0:
451451
return await super().run_step(

0 commit comments

Comments
 (0)
0